Example #1
0
 public ComplianceService(
     IDrugRepository drugRepo,
     IComplianceRepository complianceRepo)
 {
     _drugRepo = drugRepo;
     _complianceRepo = complianceRepo;
 }
Example #2
0
 public DashboardService(
     IEngagementRepository engagementRepository,
     IHostRepository hostRepository,
     IHostMapper hostMapper,
     IVulnerabilityRepository vulnerabilityRepository,
     IVulnerabilityMapper vulnerabilityMapper,
     IRiskRepository riskRepository,
     ICustomerRepository customerRepository,
     IGovernanceControlRepository governanceControlRepository,
     IPhaseRepository phaseRepository,
     IComplianceRepository complianceRepository,
     IComplianceSchemeRepository complianceSchemeRepository,
     IImportRepository importRepository,
     ICryptographyService cryptographyService,
     IEngagementService engagementService)
 {
     _engagementRepository        = engagementRepository;
     _customerRepository          = customerRepository;
     _hostRepository              = hostRepository;
     _hostMapper                  = hostMapper;
     _vulnerabilityRepository     = vulnerabilityRepository;
     _vulnerabilityMapper         = vulnerabilityMapper;
     _riskRepository              = riskRepository;
     _governanceControlRepository = governanceControlRepository;
     _phaseRepository             = phaseRepository;
     _complianceRepository        = complianceRepository;
     _complianceSchemeRepository  = complianceSchemeRepository;
     _importRepository            = importRepository;
     _cryptographyService         = cryptographyService;
     _engagementService           = engagementService;
 }
        public void SetupValues()
        {
            _complianceRepo = MockRepository.GenerateStub<IComplianceRepository>();
            _drugRepo = MockRepository.GenerateStub<IDrugRepository>();

            _complianceSvc = new ComplianceService(_drugRepo, _complianceRepo);
        }
 public GetComplianceReportHandler(IComplianceRepository repository,
                                   IUserContext userContext,
                                   IInternalUserRepository internalUserRepository)
 {
     this.repository             = repository;
     this.userContext            = userContext;
     this.internalUserRepository = internalUserRepository;
 }
 public PrescriberEocProxy(IComplianceRepository complianceRepo)
 {
     _complianceRepo = complianceRepo;
 }
 public void InitializeValues()
 {
     _connectionString = ConfigurationManager.ConnectionStrings["FDARems"].ConnectionString;
     _complianceRepo = new ComplianceRepository(_connectionString);
 }
Example #7
0
 public ComplianceManagement(IComplianceRepository complianceRepository, IUnitOfWork unitOfWork)
 {
     this.complianceRepository = complianceRepository;
     this.unitOfWork           = unitOfWork;
 }
Example #8
0
 public ComplieanceController(IComplianceRepository CRepo)
 {
     _CRepo = CRepo;
 }