예제 #1
0
 public BookingMadeHandler(
     ITimeAllocationRepository timeAllocationRepository,
     IConsultantRepository consultantRepository)
 {
     _timeAllocationRepository = timeAllocationRepository;
     _consultantRepository     = consultantRepository;
     DomainEvents.Register <TimeAllocationBookedEvent>(TimeAllocationBooked);
 }
예제 #2
0
 public BookingMadeHandler(
     ITimeAllocationRepository timeAllocationRepository,
     IEmployeeRepository employeeRepository)
 {
     _timeAllocationRepository = timeAllocationRepository;
     _employeeRepository       = employeeRepository;
     DomainEvents.Register <TimeAllocationBookedEvent>(TimeAllocationBooked);
 }
예제 #3
0
 public BookingUpdatedHandler(ITimeAllocationRepository timeAllocationRepository)
 {
     _timeAllocationRepository = timeAllocationRepository;
     DomainEvents.Register <TimeAllocationUpdatedEvent>(TimeAllocationUpdated);
 }
예제 #4
0
 public TimeAllocationsController(ITimeAllocationRepository timeAllocationRepository)
 {
     TimeAllocationRepository = timeAllocationRepository;
 }
예제 #5
0
 public MakeBookingInvalidatedHandler(ITimeAllocationRepository timeAllocationRepository)
 {
     _timeAllocationRepository = timeAllocationRepository;
     DomainEvents.Register <TimeAllocationInvalidatedEvent>(TimeAllocationInvalidated);
 }