public void SetupValues()
        {
            _complianceRepo = MockRepository.GenerateStub<IComplianceRepository>();
            _drugRepo = MockRepository.GenerateStub<IDrugRepository>();

            _complianceSvc = new ComplianceService(_drugRepo, _complianceRepo);
        }
Example #2
0
 public DrugListService(
     IComplianceService complianceSvc,
     IDrugListRepository drugListRepo,
     IDrugRepository drugRepo
     )
 {
     _drugListRepo = drugListRepo;
     _drugRepo = drugRepo;
     _complianceSvc = complianceSvc;
 }
Example #3
0
 public list()
 {
     _complianceSvc = ObjectFactory.GetInstance<IComplianceService>();
     _drugListSvc = ObjectFactory.GetInstance<IDrugListService>();
 }
Example #4
0
 public select()
 {
     _complianceSvc = ObjectFactory.GetInstance<IComplianceService>();
 }
Example #5
0
 public link()
 {
     _complianceSvc = ObjectFactory.GetInstance<IComplianceService>();
     _dsqSvc = ObjectFactory.GetInstance<IDsqService>();
 }
 public ComplianceController(IComplianceService complianceservice)
 {
     _complianceservice = complianceservice;
 }
 public ComplianceController(IComplianceService _lCompliance)
 {
     lCompliance = _lCompliance;
 }