public UserStore(Models.AppDbContext dbContext) { if (dbContext == null) { throw new ArgumentNullException(nameof(dbContext)); } users = dbContext.GetCollection <TUser>(); }
public RoleStore(Models.AppDbContext dbContext) { if (dbContext == null) { throw new ArgumentNullException(nameof(dbContext)); } roles = dbContext.GetCollection <TRole>(); }