public WorkAvailabilityService(IMapper mapper, IMediatorHandler bus, IEventStoreRepository eventStoreRepository,
                                IWorkAvailabilityRepository waRepository)
 {
     this.mapper = mapper;
     this.bus    = bus;
     this.eventStoreRepository = eventStoreRepository;
     this.waRepository         = waRepository;
 }
 public WorkAvailabilityCommandHandler(IUnitOfWork uow, IMediatorHandler bus, INotificationHandler <DomainNotification> notifications
                                       , IWorkAvailabilityRepository waRepository) : base(uow, bus, notifications)
 {
     this.waRepository = waRepository;
     this.bus          = bus;
 }