Example #1
0
 public VisitService(IUnitWork unitWork,
                     IVisitsRepo repo,
                     IMapper mapper,
                     MedicalRepVisitsHandlers handler)
 {
     //_unitWork = unitWork;
     _unitWork          = unitWork;
     _repo              = repo;
     _medicalRepHandler = handler;
 }
Example #2
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;
 }