Ejemplo n.º 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;
 }
 public LabInstrumentController(ILabInstrumentApp labInstrumentApp, IMapper mapper)
 {
     _labInstrumentApp = labInstrumentApp;
     _mapper           = mapper;
 }