Skip to content

Instantly share code, notes, and snippets.

@Ibro
Created April 24, 2018 18:18
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Ibro/b6ff9a08d5b2dbabb6075302fa7af913 to your computer and use it in GitHub Desktop.
public class ApplicationDbContext : IdentityDbContext<ApplicationUser, ApplicationRole, string>
{
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
: base(options)
{
}
public DbSet<Category> Categories { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment