adds aspnet.identity
This commit is contained in:
parent
a2f26f1e8e
commit
dc37c9a9f0
26 changed files with 1106 additions and 122 deletions
17
Data/ApplicationDbContext.cs
Normal file
17
Data/ApplicationDbContext.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using nuget_host.Models;
|
||||
|
||||
namespace nuget_host.Data
|
||||
{
|
||||
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
|
||||
{
|
||||
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
|
||||
: base(options)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue