public EfBookingStorage(TeamService teamService, BookingsDbContext dbContext, DbContextOptions <BookingsDbContext> dbContextOptions) { _teamService = teamService; _db = dbContext; _dbContextOptions = dbContextOptions; }
public BookingService(AuthenticationStateProvider authenticationStateProvider, UserManager <ApplicationUser> userManager, IBookingStorage bookingStorage, TeamService teamService) { this._authenticationStateProvider = authenticationStateProvider; this._userManager = userManager; this._bookingStorage = bookingStorage; this._teamService = teamService; }
public SpaceSchedule(ScheduleService scheduleService, TeamService teamService, IOptions<SpaceOptions> options) { _sessionGenerator = new TeamSessionGenerator(scheduleService.ActiveSchedule.ScheduledTeams); _teamService = teamService; _spaceSize = options.Value.Size; }