示例#1
0
 public LabTestApp(IUnitOfWork uow, IHttpContextAccessor httpContext, ILabInstrumentApp labInstrumentApp, ILabRequestApp labRequestApp)
 {
     _uow                  = uow;
     _service              = _uow.GetRepository <LabTestEntity>();
     _reportService        = _uow.GetRepository <LabReportEntity>();
     _qualityItemService   = _uow.GetRepository <QualityItemEntity>();
     _labSheetService      = _uow.GetRepository <LabSheetEntity>();
     _qualityResultService = _uow.GetRepository <QualityResultEntity>();
     _httpContext          = httpContext;
     _labInstrumentApp     = labInstrumentApp;
     _labRequestApp        = labRequestApp;
 }
示例#2
0
 public LabRequestController(ILabRequestApp labRequestApp, IMapper mapper, IUsersService usersService)
 {
     _labRequestApp = labRequestApp;
     _usersService  = usersService;
     _mapper        = mapper;
 }
示例#3
0
 public LabTestController(ILabTestApp labTestApp, ILabRequestApp labRequestApp, IMapper mapper)
 {
     _labTestApp    = labTestApp;
     _labRequestApp = labRequestApp;
     _mapper        = mapper;
 }