public TestFactory(ITestRepository testRepository, ITestTypeRepository testTypeRepository, IExpectedResultRepository expectedResultRepository, IAssertTypeRepository assertTypeRepository) { _testRepository = testRepository; _testTypeRepository = testTypeRepository; _expectedResultRepository = expectedResultRepository; _assertTypeRepository = assertTypeRepository; }
public TestController(ITestRepository dbTestRepository, ITestTypeRepository dbTestTypeRepository, IProjectRepository dbProjectRepository, ITestGroupRepository dbTestGroupRepository) { _dbTestRepository = dbTestRepository; _dbTestTypeRepository = dbTestTypeRepository; _dbProjectRepository = dbProjectRepository; _dbTestGroupRepository = dbTestGroupRepository; }
public static Test IncludeTestType(this Test test, ITestTypeRepository testTypeRepository) { if (test.TestType != null) { return(test); } test.TestType = testTypeRepository.GetDataById(test.TestTypeId).ToList().First(); return(test); }
public TestAllocationController( ITestTypeRepository testrepo, ITestAllocationRepository testallocationrepo, IMapper mapper, UserManager <Patient> userManager) { _testrepo = testrepo; _testallocationrepo = testallocationrepo; _mapper = mapper; _userManager = userManager; }
public UnitOfWork( PlatformContext context, IBrandRepository brandRepository, IUserRepository userRepository, ITestRepository testRepository, ITestTypeRepository testTypeRepository, IProfileRepository profileRepository, IUserTestRepository userTestRepository) { BrandRepository = brandRepository; UserRepository = userRepository; TestRepository = testRepository; TestTypeRepository = testTypeRepository; ProfileRepository = profileRepository; UserTestRepository = userTestRepository; _context = context; }
public HimsSetupController(IPackageRepository packagerepo, ITestRepository testrepo, IConsultantRepository consultantRepository, IDiagnosisRepository diarepo, IEmbryologistRepository _embryologistRepo, IEmbryologyCodeRepository _embryologyCodeRepo, IVisitNatureRepository _VisitNature_repo, ITestTypeRepository tsttyperepo, ITestCategoryRepository tstcatrepo, IPatientPackageRepository Patientpackagerepo, IProcedureRepository Procedurerepo, ISonologistRepository Sonologistrepo, IMedicineRequestRepository MedicineRequestrepo, IOtTerminologyRepository OtTerminologyrepo, IOtProcedureRepository OtProcedurerepo, IOtEquipmentRepository OtEquipmentrepo ) { con_repo = consultantRepository; package_repo = packagerepo; test_repo = testrepo; dia_repo = diarepo; embryologistRepo = _embryologistRepo; embryologyCodeRepo = _embryologyCodeRepo; VisitNature_repo = _VisitNature_repo; testType_repo = tsttyperepo; testCategory_repo = tstcatrepo; Patientpackage_repo = Patientpackagerepo; Procedure_repo = Procedurerepo; Sonologist_repo = Sonologistrepo; //OT MedicineRequest_repo = MedicineRequestrepo; OtTerminology_repo = OtTerminologyrepo; OtProcedure_repo = OtProcedurerepo; OtEquipment_repo = OtEquipmentrepo; }
public static Test IncludeTestType(this Test test, ITestTypeRepository testTypeRepository) { if (test.TestType != null) return test; test.TestType = testTypeRepository.GetDataById(test.TestTypeId).ToList().First(); return test; }
public TestTypeController(ITestTypeRepository dbTestTypeRepository) { _dbTestTypeRepository = dbTestTypeRepository; }
public TestTypeService(ITestTypeRepository repository) { this.repository = repository; }
public static TestValueType IncludeTestType(this TestValueType testValueType, ITestTypeRepository testTypeRepository) { if (testValueType.TestType != null) return testValueType; testValueType.TestType = testTypeRepository.GetDataById(testValueType.TestTypeId).ToList().First(); return testValueType; }