public void SetupValues() { _complianceRepo = MockRepository.GenerateStub<IComplianceRepository>(); _drugRepo = MockRepository.GenerateStub<IDrugRepository>(); _complianceSvc = new ComplianceService(_drugRepo, _complianceRepo); }
public DrugListService( IComplianceService complianceSvc, IDrugListRepository drugListRepo, IDrugRepository drugRepo ) { _drugListRepo = drugListRepo; _drugRepo = drugRepo; _complianceSvc = complianceSvc; }
public list() { _complianceSvc = ObjectFactory.GetInstance<IComplianceService>(); _drugListSvc = ObjectFactory.GetInstance<IDrugListService>(); }
public select() { _complianceSvc = ObjectFactory.GetInstance<IComplianceService>(); }
public link() { _complianceSvc = ObjectFactory.GetInstance<IComplianceService>(); _dsqSvc = ObjectFactory.GetInstance<IDsqService>(); }
public ComplianceController(IComplianceService complianceservice) { _complianceservice = complianceservice; }
public ComplianceController(IComplianceService _lCompliance) { lCompliance = _lCompliance; }