Пример #1
0
 public EventCustomerService(IEventCustomerRepository eventCustomerRepository, IEventCustomerAggregateFactory eventCustomerAggregateFactory, IEventCustomerRegistrationViewDataRepository eventCustomerRegistrationViewDataRepository,
                             IAppointmentRepository appointmentRepository, IEventCustomerRegistrationViewDataFactory eventCustomerRegistrationViewDataFactory, IPaymentController paymentController, IEventSchedulingSlotService slotService)
 {
     _eventCustomerRepository                     = eventCustomerRepository;
     _appointmentRepository                       = appointmentRepository;
     _eventCustomerAggregateFactory               = eventCustomerAggregateFactory;
     _eventCustomerRegistrationViewDataFactory    = eventCustomerRegistrationViewDataFactory;
     _eventCustomerRegistrationViewDataRepository = eventCustomerRegistrationViewDataRepository;
     _paymentController = paymentController;
     _slotService       = slotService;
 }
Пример #2
0
 public EventCustomerAggregateRepository(IEventCustomerAggregateFactory factory)
 {
     _factory = factory;
 }
Пример #3
0
 public EventCustomerAggregateRepository()
 {
     _factory = new EventCustomerAggregateFactory();
 }