Feature/Auth: implement user authentication #3
@@ -2,12 +2,12 @@
|
||||
using agologumApi.Models;
|
||||
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
||||
|
||||
public class AppDbContext : DbContext {
|
||||
public class AppDbContext : IdentityDbContext<User> {
|
||||
|
||||
public AppDbContext(DbContextOptions<AppDbContext> options) : base(options) {
|
||||
|
||||
}
|
||||
|
||||
public DbSet<User> Users { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user