public BestWorkTimeService(IMapper mapper, IBestWorkTimeRepository bestWorkTimeRepository, IMediatorHandler bus, IEventStoreRepository eventStoreRepository, IOccupationBestWorkTimeRepository occupationBestWorkTimeRepository) { this.mapper = mapper; this.bestWorkTimeRepository = bestWorkTimeRepository; this.bus = bus; this.eventStoreRepository = eventStoreRepository; this.occupationBestWorkTimeRepository = occupationBestWorkTimeRepository; }
public BestWorkTimeCommandHandler(IUnitOfWork uow, IMediatorHandler bus, INotificationHandler <DomainNotification> notifications , IBestWorkTimeRepository bwtRepository) : base(uow, bus, notifications) { this.bwtRepository = bwtRepository; this.bus = bus; }