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 IEnumerable <NonNull <EngagementGraph> > Engagements([Inject] IEngagementService service) { if (_dto?.Id != null) { var engagements = service.GetEngagementsByCustomerid(_dto.Id); foreach (var engagement in engagements) { yield return(new EngagementGraph(engagement)); } } }
public TeamsController(IEngagementService engagementService) { _engagementService = engagementService; }
public UsersController(IUserService userService, IEngagementService engagementService) { _userService = userService; _engagementService = engagementService; }
public ProjectsController(IEngagementService engagementService) { _engagementService = engagementService; }