Example #1
0
 public GeneratePatientSummaryArtefactWhenE2BGeneratedDomainEventHandler(
     IRepositoryInt <AttachmentType> attachmentTypeRepository,
     IArtefactService artefactService)
 {
     _attachmentTypeRepository = attachmentTypeRepository ?? throw new ArgumentNullException(nameof(attachmentTypeRepository));
     _artefactService          = artefactService ?? throw new ArgumentNullException(nameof(artefactService));
 }
Example #2
0
        public WorkFlowService(IUnitOfWorkInt unitOfWork, ICustomAttributeService attributeService, IPatientService patientService, IArtefactService artefactService)
        {
            Check.IsNotNull(unitOfWork, "unitOfWork may not be null");
            Check.IsNotNull(artefactService, "artefactService may not be null");
            Check.IsNotNull(attributeService, "attributeService may not be null");
            Check.IsNotNull(patientService, "patientService may not be null");

            _unitOfWork = unitOfWork;

            _artefactService  = artefactService;
            _attributeService = attributeService;
            _patientService   = patientService;
        }
 public FileDownloadController(IUnitOfWorkInt unitOfWork, IArtefactService artefactService)
 {
     this._unitOfWork = unitOfWork;
     _artefactService = artefactService;
 }