public TimeslotsController(CodecampDbContext context,
                            ITimeslotBusinessLogic timeslotBL,
                            IEventBusinessLogic eventBL)
 {
     _context    = context;
     _timeslotBL = timeslotBL;
     _eventBL    = eventBL;
 }
Ejemplo n.º 2
0
 public ScheduleController(CodecampDbContext context,
                           IScheduleBusinessLogic scheduleBL,
                           ITimeslotBusinessLogic timeslotBL,
                           ITrackBusinessLogic trackBL,
                           ISessionBusinessLogic sessionBL)
 {
     _context    = context;
     _scheduleBL = scheduleBL;
     _timeslotBL = timeslotBL;
     _trackBL    = trackBL;
     _sessionBL  = sessionBL;
 }
 public SessionsController(
     CodecampDbContext context,
     UserManager <CodecampUser> userManager,
     ISessionBusinessLogic sessionBL,
     IEventBusinessLogic eventBL,
     ISpeakerBusinessLogic speakerBL,
     ITrackBusinessLogic trackBL,
     ITimeslotBusinessLogic timeslotBL)
 {
     _context     = context;
     _userManager = userManager;
     _sessionBL   = sessionBL;
     _eventBL     = eventBL;
     _speakerBL   = speakerBL;
     _trackBL     = trackBL;
     _timeslotBL  = timeslotBL;
 }