19 lines
512 B
C#
19 lines
512 B
C#
|
|
using Microsoft.AspNetCore.Identity;
|
||
|
|
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
||
|
|
using Microsoft.EntityFrameworkCore;
|
||
|
|
|
||
|
|
namespace SkyArtShop.Data
|
||
|
|
{
|
||
|
|
public class ApplicationUser : IdentityUser
|
||
|
|
{
|
||
|
|
public string DisplayName { get; set; } = string.Empty;
|
||
|
|
}
|
||
|
|
|
||
|
|
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
|
||
|
|
{
|
||
|
|
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : base(options)
|
||
|
|
{
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|