Exemplo n.º 1
0
 public TreatmentMachineService(IMapper mapper, ITreatmentMachineRepository treatmentMachineRepository,
                                IMediatorHandler mediator, IEventStoreRepository eventStoreRepository)
 {
     _mapper = mapper;
     _treatmentMachineRepository = treatmentMachineRepository;
     _eventStoreRepository       = eventStoreRepository;
     _mediator = mediator;
 }
Exemplo n.º 2
0
 public TreatmentMachineCommandHandler(
     ITreatmentMachineRepository treatmentMachineRepository,
     IUnitOfWork unitOfWork,
     IMediatorHandler mediator,
     INotificationHandler <DomainNotification> notifications) : base(unitOfWork, mediator, notifications)
 {
     _mediator = mediator;
     _treatmentMachineRepository = treatmentMachineRepository;
 }