Open Nobonex opened 2 years ago
@Nobonex Thanks for pointing it out. For some weird reason I named it AuthDB, I think it was because it inherited from IdentityContext and I thought I'm gonna have to create two, but turned out it worked just fine, and later on I was just afraid to rename it. 😄 But I am a grown-up developer now, I will find a way to do it safely :)
https://github.com/upizs/PestControl/blob/d82b6e941e797fba15f85d0c73399e37ab32836a/TicketControl.Data/Data/AuthDbContext.cs#L9
Naming of this would indicate that this Context is to be used solely for Authentication/Authorisation.