public TreatmentRoomService(IMapper mapper, ITreatmentRoomRepository treatmentRoomRepository,
                             ITreatmentMachineRepository treatmentMachineRepository, IMediatorHandler mediator,
                             IEventStoreRepository eventStoreRepository)
 {
     _mapper = mapper;
     _treatmentRoomRepository    = treatmentRoomRepository;
     _treatmentMachineRepository = treatmentMachineRepository;
     _eventStoreRepository       = eventStoreRepository;
     _mediator = mediator;
 }
 public TreatmentRoomCommandHandler(
     ITreatmentRoomRepository treatmentRoomRepository,
     ITreatmentMachineRepository treatmentMachineRepository,
     IUnitOfWork unitOfWork,
     IMediatorHandler mediator,
     INotificationHandler <DomainNotification> notifications) : base(unitOfWork, mediator, notifications)
 {
     _mediator = mediator;
     _treatmentRoomRepository    = treatmentRoomRepository;
     _treatmentMachineRepository = treatmentMachineRepository;
 }
 public ConsultationCommandHandler(
     IConsultationRepository consultationRepository,
     IDoctorRepository doctorRepository,
     IPatientRepository patientRepository,
     ITreatmentRoomRepository treatmentRoomRepository,
     IUnitOfWork unitOfWork,
     IMediatorHandler mediator,
     INotificationHandler <DomainNotification> notifications) : base(unitOfWork, mediator, notifications)
 {
     _consultationRepository  = consultationRepository;
     _doctorRepository        = doctorRepository;
     _patientRepository       = patientRepository;
     _treatmentRoomRepository = treatmentRoomRepository;
     _mediator = mediator;
 }