Mihail Mihov
Do I add my Models in the IdentityDbContext from the template?
I'm trying to create a project, where I'll have two types of users (regular and admin) and I'll have a bunch of other models. I am using asp.net core 8 and created my project with the
blazor --auth Individual
options. It generated for me an ApplicationDbContext
which inherits from IdentityDbContext
. Should I add my DbSet
s in this class or should I use a separate context? Ideally I'd want to have separate levels of access for the different user types.7 replies