Ejemplo n.º 1
0
 public TestFactory(ITestRepository testRepository, ITestTypeRepository testTypeRepository,
     IExpectedResultRepository expectedResultRepository, IAssertTypeRepository assertTypeRepository)
 {
     _testRepository = testRepository;
     _testTypeRepository = testTypeRepository;
     _expectedResultRepository = expectedResultRepository;
     _assertTypeRepository = assertTypeRepository;
 }
Ejemplo n.º 2
0
 public TestController(ITestRepository dbTestRepository, ITestTypeRepository dbTestTypeRepository,
                       IProjectRepository dbProjectRepository, ITestGroupRepository dbTestGroupRepository)
 {
     _dbTestRepository      = dbTestRepository;
     _dbTestTypeRepository  = dbTestTypeRepository;
     _dbProjectRepository   = dbProjectRepository;
     _dbTestGroupRepository = dbTestGroupRepository;
 }
Ejemplo n.º 3
0
 public TestController(ITestRepository dbTestRepository, ITestTypeRepository dbTestTypeRepository,
     IProjectRepository dbProjectRepository, ITestGroupRepository dbTestGroupRepository)
 {
     _dbTestRepository = dbTestRepository;
     _dbTestTypeRepository = dbTestTypeRepository;
     _dbProjectRepository = dbProjectRepository;
     _dbTestGroupRepository = dbTestGroupRepository;
 }
Ejemplo n.º 4
0
 public TestFactory(ITestRepository testRepository, ITestTypeRepository testTypeRepository,
                    IExpectedResultRepository expectedResultRepository, IAssertTypeRepository assertTypeRepository)
 {
     _testRepository           = testRepository;
     _testTypeRepository       = testTypeRepository;
     _expectedResultRepository = expectedResultRepository;
     _assertTypeRepository     = assertTypeRepository;
 }
Ejemplo n.º 5
0
 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);
 }
Ejemplo n.º 6
0
 public TestAllocationController(
     ITestTypeRepository testrepo,
     ITestAllocationRepository testallocationrepo,
     IMapper mapper,
     UserManager <Patient> userManager)
 {
     _testrepo           = testrepo;
     _testallocationrepo = testallocationrepo;
     _mapper             = mapper;
     _userManager        = userManager;
 }
Ejemplo n.º 7
0
 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;
 }
Ejemplo n.º 8
0
 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;
 }
Ejemplo n.º 9
0
 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;
 }
Ejemplo n.º 10
0
 public TestTypeController(ITestTypeRepository dbTestTypeRepository)
 {
     _dbTestTypeRepository = dbTestTypeRepository;
 }
Ejemplo n.º 11
0
 public TestTypeController(ITestTypeRepository dbTestTypeRepository)
 {
     _dbTestTypeRepository = dbTestTypeRepository;
 }
Ejemplo n.º 12
0
 public TestTypeService(ITestTypeRepository repository)
 {
     this.repository = repository;
 }
Ejemplo n.º 13
0
 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;      
 }