示例#1
0
 public UpdateApprovedFinding(
     IFindingRepository findingRepository,
     IFindingStateRepository findingStateRepository,
     IFindingStatesHistoryRepository findingStatesHistoryRepository,
     IFindingEvidenceRepository findingEvidenceRepository,
     IHubContext <FindingsHub> hub
     )
 {
     _findingRepository              = findingRepository;
     _findingStateRepository         = findingStateRepository;
     _findingStatesHistoryRepository = findingStatesHistoryRepository;
     _findingEvidenceRepository      = findingEvidenceRepository;
     _hub = hub;
 }
 public RejectReassignFinding(IFindingRepository findingRepository,
                              IReassignmentsFindingHistoryRepository reassignmentsFindingHistoryRepository,
                              IFindingStatesHistoryRepository findingStatesHistoryRepository,
                              IHubContext <FindingsHub> hub,
                              IOptions <EmailSettings> emailSettings
                              )
 {
     _findingRepository = findingRepository;
     _reassignmentsFindingHistoryRepository = reassignmentsFindingHistoryRepository;
     _findingStatesHistoryRepository        = findingStatesHistoryRepository;
     EmailAddresses = new List <string>();
     _emailSettings = emailSettings.Value;
     _hub           = hub;
 }
示例#3
0
 public NewFinding(IFindingRepository findingRepository, IFindingStatesHistoryRepository findingStatesHistoryRepository,
                   IFindingEvidenceRepository findingEvidenceRepository, IFindingStateRepository findingStateRepository,
                   IOptions <EmailSettings> emailSettings, IUserWorkflowRepository userWorkflowRepository,
                   IHubContext <FindingsHub> hub)
 {
     _findingRepository = findingRepository;
     _findingStatesHistoryRepository = findingStatesHistoryRepository;
     _findingEvidenceRepository      = findingEvidenceRepository;
     _findingStateRepository         = findingStateRepository;
     EmailAddresses          = new List <string>();
     _emailSettings          = emailSettings.Value;
     _hub                    = hub;
     _userWorkflowRepository = userWorkflowRepository;
 }
 public GenerateFindingReassignment(IFindingRepository findingRepository,
                                    IReassignmentsFindingHistoryRepository reassignmentsFindingHistoryRepository,
                                    IFindingStatesHistoryRepository findingStatesHistoryRepository,
                                    IFindingStateRepository findingStateRepository,
                                    IOptions <EmailSettings> emailSettings,
                                    IHubContext <FindingsHub> hub,
                                    IUserWorkflowRepository userWorkflowRepository)
 {
     _findingStateRepository = findingStateRepository;
     _findingRepository      = findingRepository;
     _reassignmentsFindingHistoryRepository = reassignmentsFindingHistoryRepository;
     _findingStatesHistoryRepository        = findingStatesHistoryRepository;
     EmailAddresses          = new List <string>();
     _emailSettings          = emailSettings.Value;
     _hub                    = hub;
     _userWorkflowRepository = userWorkflowRepository;
 }