Skip to content

Instantly share code, notes, and snippets.

@vaygeth89
Created November 17, 2020 20:34
Show Gist options
  • Save vaygeth89/0f00b101a37d5769719daf7c01623360 to your computer and use it in GitHub Desktop.
Save vaygeth89/0f00b101a37d5769719daf7c01623360 to your computer and use it in GitHub Desktop.
tutorial-dotnet-JWTProtectedAPI AppDbContext
using Microsoft.EntityFrameworkCore;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.AspNetCore.Identity;
namespace JWTProtectedAPI.Models
{
public class AppDbContext : IdentityDbContext<IdentityUser>
{
public AppDbContext(DbContextOptions<AppDbContext> options) : base(options)
{
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment