Skip to content

Instantly share code, notes, and snippets.

@Ibro
Created April 24, 2018 18:18
Show Gist options
  • Save Ibro/b6ff9a08d5b2dbabb6075302fa7af913 to your computer and use it in GitHub Desktop.
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