Пример #1
0
 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;
 }
Пример #2
0
 public BestWorkTimeCommandHandler(IUnitOfWork uow, IMediatorHandler bus, INotificationHandler <DomainNotification> notifications
                                   , IBestWorkTimeRepository bwtRepository) : base(uow, bus, notifications)
 {
     this.bwtRepository = bwtRepository;
     this.bus           = bus;
 }