Exemple #1
0
 public AttendeesController(IAttendeesRepository attendeesRepository,
                            ISessionsRepository sessionsRepository,
                            IConferencesRepository conferencesRepository)
 {
     _attendeesRepository   = attendeesRepository;
     _sessionsRepository    = sessionsRepository;
     _conferencesRepository = conferencesRepository;
 }
 public TicketSalesService(
     IConferencesRepository conferenceRepository,
     ITicketSaleRepository ticketSaleRepository,
     ITicketsRepository ticketRepository,
     ITicketsFactory ticketsFactory,
     IDateTimeService dateTimeService)
 {
     _conferenceRepository = conferenceRepository;
     _ticketSaleRepository = ticketSaleRepository;
     _ticketRepository     = ticketRepository;
     _ticketsFactory       = ticketsFactory;
     _dateTimeService      = dateTimeService;
 }
Exemple #3
0
 public TicketService(
     IDateTimeService dateTimeService,
     IConferencesRepository conferencesRepository,
     ITicketsRepository ticketsRepository,
     ITicketSaleRepository ticketSaleRepository,
     ITicketsFactory ticketsFactory)
 {
     _dateTimeService       = dateTimeService;
     _conferencesRepository = conferencesRepository;
     _ticketsRepository     = ticketsRepository;
     _ticketSaleRepository  = ticketSaleRepository;
     _ticketsFactory        = ticketsFactory;
 }
 public ConferencesController(IConferencesRepository conferencesRepository, ILogger <ConferencesController> logger)
 {
     _conferencesRepository = conferencesRepository;
     _logger = logger;
 }
Exemple #5
0
 public ConferenceCreatedHandler(IConferencesRepository conferencesRepository)
 {
     _conferencesRepository = conferencesRepository;
 }