public PharmcogenomeController(IGeneRepository geneRepository, IDiplotypeRepository diplotypeRepository, IDrugRepository drugRepository, IDrugDescriptionRepository drugDescriptionRepository) { _geneRepository = geneRepository; _diplotypeRepository = diplotypeRepository; _drugRepository = drugRepository; _drugDescriptionRepository = drugDescriptionRepository; }
public void SetupValues() { _complianceRepo = MockRepository.GenerateStub<IComplianceRepository>(); _drugRepo = MockRepository.GenerateStub<IDrugRepository>(); _complianceSvc = new ComplianceService(_drugRepo, _complianceRepo); }
public ComplianceService( IDrugRepository drugRepo, IComplianceRepository complianceRepo) { _drugRepo = drugRepo; _complianceRepo = complianceRepo; }
public HomeController(IDrugRepository drugRepository, IHostingEnvironment hostingEnvironment, ApplicationDbContext context, IStoreRepository storeRepository) { _context = context; _drugRepository = drugRepository; this.hostingEnvironment = hostingEnvironment; this.storeRepository = storeRepository; }
public DiplotypeController(IDiplotypeRepository _IdiplotypeRepository, IGeneRepository _IgeneRepository, IDrugRepository _IdrugRepository, IDrugDescriptionRepository _IdrugDescriptionRepository) { _geneRepository = _IgeneRepository; _diplotypeRepository = _IdiplotypeRepository; _drugDescriptionRepository = _IdrugDescriptionRepository; _drugRepository = _IdrugRepository; }
public UnitOfWork(DrugContext context, IDrugRepository drugRepository, ISuffixRepository suffixRepository) { _context = context; DrugRepository = drugRepository; SuffixRepository = suffixRepository; }
public UsersApiController() { log = log4net.LogManager.GetLogger(typeof(UsersApiController)); userRepo = new UsersReposatory(); preRepo = new PrescriptionRepository(); drugRepo = new DrugRepository(); docRepo = new DoctorRepository(); u = new UserServices(userRepo, preRepo, drugRepo, docRepo); }
public DrugListService( IComplianceService complianceSvc, IDrugListRepository drugListRepo, IDrugRepository drugRepo ) { _drugListRepo = drugListRepo; _drugRepo = drugRepo; _complianceSvc = complianceSvc; }
public UserServices(IUserRepository userRepo, IPrescriptionRepository preRepo, IDrugRepository drugRepo, IDoctorRepository docRepo) { this.drugRepo = drugRepo; this.docRepo = docRepo; this.preRepo = preRepo; this.userRepo = userRepo; }
public PrescriptionBusiness(IMapper mapper, IPrescriptionDetailRepository prescriptionDetailRepository, IDrugRepository drugRepository, IUnitRepository unitRepository, ITreatmentDetailRepository treatmentDetailRepository) { _mapper = mapper; _prescriptionDetailRepository = prescriptionDetailRepository; _drugRepository = drugRepository; _unitRepository = unitRepository; _treatmentDetailRepository = treatmentDetailRepository; }
public void InitializeValues() { _connectionString = ConfigurationManager.ConnectionStrings["FDARems"].ConnectionString; _drugRepo = new DrugRepository(_connectionString); }
public DrugController(IDrugRepository drugRepository, IMapper mapper) { this.drugRepository = drugRepository; this.mapper = mapper; }
public FrenchDrugDirectory(IDrugRepository drugRepository, FrenchLeafletRepository leafletRepository) { _drugRepository = drugRepository; _leafletRepository = leafletRepository; }
public HomeController(IGeneRepository geneRepository, IDrugRepository drugRepository) { _geneRepository = geneRepository; _drugRepository = drugRepository; }
public DrugsController(IDrugRepository drugRepository, IHostingEnvironment hostingEnvironment, IStoreRepository storeRepository) { _drugRepository = drugRepository; this.hostingEnvironment = hostingEnvironment; this.storeRepository = storeRepository; }
public TherapyRepository(ICSVStream <Therapy> stream, ISequencer <long> sequencer, IDrugRepository drugRepo) : base(stream, sequencer) { _drugRepository = drugRepo; }
public DrugController(IDrugRepository _IDrugRepository, IDiplotypeRepository _IDiplotypeRepository, IDrugDescriptionRepository _IDrugDescriptionRepository) { _DrugRepository = _IDrugRepository; _DiplotypeRepository = _IDiplotypeRepository; _DrugDescriptionRepository = _IDrugDescriptionRepository; }
public DrugProvider(IDrugRepository drugRepository) { _drugRepository = drugRepository; }
public PrescriptionRepository(ICSVStream <Prescription> stream, ISequencer <long> sequencer, IDrugRepository drugRepository) : base(stream, sequencer) { _drugRepository = drugRepository; }
public DrugsController(IDrugRepository drugRepository, IMapper mapper) { _drugRepository = drugRepository; _mapper = mapper; }
public DrugService(IDrugRepository repository) { _repository = repository; }
public DrugsController(IDrugRepository drugRepository) { _drugRepository = drugRepository; }
public DrugService(IDrugRepository drugRepository) { _drugRepository = drugRepository; }
public DrugsController(IDrugRepository drug) { _drug = drug; _log4net = log4net.LogManager.GetLogger(typeof(DrugsController)); }
public DrugService(IDrugRepository drugRepo) { _drugRepo = drugRepo; }