예제 #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();
 }