Add authentication and identity support using ASP.NET Core Identity
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
using API.Models.Internal.Altersgruppen;
|
||||
using API.Models.Internal.User;
|
||||
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace API.Database
|
||||
{
|
||||
public class ApplicationDbContext : DbContext
|
||||
public class ApplicationDbContext : IdentityDbContext<User>
|
||||
{
|
||||
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : base(options)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user