added login stuff
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace ApplianceRepair
|
||||
{
|
||||
public class DatabaseContext(DbContextOptions<DatabaseContext> options) : DbContext(options)
|
||||
public class DatabaseContext(DbContextOptions<DatabaseContext> options) : IdentityDbContext<IdentityUser>(options)
|
||||
{
|
||||
public DbSet<HomePageRecord> HomePage { get; set; }
|
||||
public DbSet<ContentCardRecord> ContentCards { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user