예제 #1
0
 public ComplianceService(
     IDrugRepository drugRepo,
     IComplianceRepository complianceRepo)
 {
     _drugRepo = drugRepo;
     _complianceRepo = complianceRepo;
 }
예제 #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;
 }
예제 #3
0
        public void SetupValues()
        {
            _complianceRepo = MockRepository.GenerateStub<IComplianceRepository>();
            _drugRepo = MockRepository.GenerateStub<IDrugRepository>();

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