Beispiel #1
0
 public ReportService(IReportRepo repo,
                      IVisitInteracting interacting,
                      VisitAssertion assertion,
                      MedicalRepVisitsHandlers visitsHandlers,
                      MedicalRepReportHandlers reportHandlers,
                      IUnitWork unitWork)
 {
     _repo           = repo;
     _interacting    = interacting;
     _assertion      = assertion;
     _visitsHandlers = visitsHandlers;
     _reportHandlers = reportHandlers;
     _unitWork       = unitWork;
 }
 public EvaluationService(
     IUnitWork unitWork,
     INotificationRepo repo,
     IGlobalMessageFactory globalMessageFactory,
     IMessageFactory messageFactory,
     IEvaluationRepo repo1,
     MedicalRepEvaluationsHandlers medicalRepHandlers,
     VisitAssertion visitAssertion,
     IVisitInteracting interacting,
     IMapper mapper,
     INotificationTypeRepo notificationTypeRepo
     ) : base(unitWork, repo, globalMessageFactory, messageFactory)
 {
     _unitWork             = unitWork;
     _repo                 = repo1;
     _medicalRepHandlers   = medicalRepHandlers;
     _visitAssertion       = visitAssertion;
     _interacting          = interacting;
     _mapper               = mapper;
     _notificationTypeRepo = notificationTypeRepo;
     _eventBuilder         = new EvaluationEventBuilder(_notificationTypeRepo);
 }