public BookingMadeHandler( ITimeAllocationRepository timeAllocationRepository, IConsultantRepository consultantRepository) { _timeAllocationRepository = timeAllocationRepository; _consultantRepository = consultantRepository; DomainEvents.Register <TimeAllocationBookedEvent>(TimeAllocationBooked); }
public BookingMadeHandler( ITimeAllocationRepository timeAllocationRepository, IEmployeeRepository employeeRepository) { _timeAllocationRepository = timeAllocationRepository; _employeeRepository = employeeRepository; DomainEvents.Register <TimeAllocationBookedEvent>(TimeAllocationBooked); }
public BookingUpdatedHandler(ITimeAllocationRepository timeAllocationRepository) { _timeAllocationRepository = timeAllocationRepository; DomainEvents.Register <TimeAllocationUpdatedEvent>(TimeAllocationUpdated); }
public TimeAllocationsController(ITimeAllocationRepository timeAllocationRepository) { TimeAllocationRepository = timeAllocationRepository; }
public MakeBookingInvalidatedHandler(ITimeAllocationRepository timeAllocationRepository) { _timeAllocationRepository = timeAllocationRepository; DomainEvents.Register <TimeAllocationInvalidatedEvent>(TimeAllocationInvalidated); }