//private readonly ILogger<StaffRepository> _logger; public StaffRepository(YoumaconSecurityDbContext dbContext) { _dbContext = dbContext; }
public LocationRepository(YoumaconSecurityDbContext dbContext) { _dbContext = dbContext ?? throw new ArgumentException("Could not register DbContext: ", nameof(dbContext)); }