public UpdateTaskUseCase( ITasksEvidenceRepository tasksEvidenceRepository, IAzureStorageRepository azureStorageRepository, ITaskRepository taskRepository, IFinishedTasksCorrectiveActionUseCase finishedTasksCorrectiveActionUseCase, IMapper mapper, IEmailSender emailSender, ICustomLogger logger, IGetAllTaskStatesUseCase getAllTaskStates, IGetOneUserUseCase getOneUserUse, IUserRepository userReopository, IOptions <AzureStorageBlobSettings> azureStorageSettings, ICorrectiveActionRepository correctiveActionRepository, IOptions <EmailSettings> emailSettings ) { _azureStorageRepository = azureStorageRepository; _tasksEvidenceRepository = tasksEvidenceRepository; _taskRepository = taskRepository; _mapper = mapper; _finishedTasksCorrectiveActionUseCase = finishedTasksCorrectiveActionUseCase; _emailSender = emailSender; _userReopository = userReopository; _getAllTaskStates = getAllTaskStates; _azureStorageSettings = azureStorageSettings.Value; _correctiveActionRepository = correctiveActionRepository; _emailSettings = emailSettings.Value; }
public GetAllCorrectiveActionsUseCase( ICorrectiveActionRepository correctiveActionRepository, IHttpContextAccessor httpContextAccessor, IMapper mapper, IUserRepository userRepository) { _correctiveActionRepository = correctiveActionRepository; _mapper = mapper; _httpContextAccessor = httpContextAccessor; _userRepository = userRepository; }
public EvaluateCorrectiveActionUseCase(IAzureStorageRepository azureStorageRepository, IWorkflowCore workflowCore, ICorrectiveActionRepository correctiveActionRepository, IOptions <AzureStorageBlobSettings> azureStorageSettings ) { _azureStorageRepository = azureStorageRepository; _workflowCore = workflowCore; _correctiveActionRepository = correctiveActionRepository; _azureStorageSettings = azureStorageSettings.Value; }
public CreateCorrectiveActionUseCase( ICorrectiveActionRepository correctiveActionRepository, IMapper mapper, IWorkflowCore workflowCore, IHttpContextAccessor httpContextAccessor ) { _correctiveActionRepository = correctiveActionRepository; _mapper = mapper; _workflowCore = workflowCore; _httpContextAccessor = httpContextAccessor; }
public UpdateCorrectiveActionEvidenceUseCase(IAzureStorageRepository azureStorageRepository, ICorrectiveActionEvidenceRepository correctiveActionEvidenceRepository, ICorrectiveActionRepository correctiveActionRepository, IMapper mapper, IOptions <AzureStorageBlobSettings> azureStorageSettings) { _azureStorageRepository = azureStorageRepository; _correctiveActionEvidenceRepository = correctiveActionEvidenceRepository; _correctiveActionRepository = correctiveActionRepository; _mapper = mapper; _azureStorageSettings = azureStorageSettings.Value; }
public FinishedTasksCorrectiveActionUseCase( ITaskRepository taskRepository, ITaskStateRepository taskStateRepository, ICorrectiveActionRepository correctiveActionRepository, IWorkflowCore workflowCore ) { _taskRepository = taskRepository; _taskStateRepository = taskStateRepository; _correctiveActionRepository = correctiveActionRepository; _workflowCore = workflowCore; }
public FinishedTasks( ICorrectiveActionRepository correctiveActionRepository, ICorrectiveActionStateRepository correctiveActionStateRepository, IUserWorkflowRepository userWorkflowRepository, ISectorPlantRepository sectorPlantRepository, ICorrectiveActionStatesHistoryRepository correctiveActionStateHistoryRepository, IOptions <EmailSettings> emailSettings) { EmailAddresses = new List <string>(); _correctiveActionRepository = correctiveActionRepository; _correctiveActionStateRepository = correctiveActionStateRepository; _userWorkflowRepository = userWorkflowRepository; _correctiveActionStateHistoryRepository = correctiveActionStateHistoryRepository; _sectorPlantRepository = sectorPlantRepository; _emailSettings = emailSettings.Value; }
public NewCorrectiveAction( ICorrectiveActionRepository correctiveActionRepository, ICorrectiveActionStatesHistoryRepository correctiveActionStateHistoryRepository, ICorrectiveActionStateRepository correctiveActionStateRepository, IUserWorkflowRepository userWorkflowRepository, IParametrizationCorrectiveActionRepository parametrizationCorrectiveActionRepository, ISectorPlantRepository sectorPlantRepository, IOptions <EmailSettings> emailSettings) { EmailAddresses = new List <string>(); _correctiveActionRepository = correctiveActionRepository; _correctiveActionStateRepository = correctiveActionStateRepository; _userWorkflowRepository = userWorkflowRepository; _correctiveActionStateHistoryRepository = correctiveActionStateHistoryRepository; _parametrizationCorrectiveActionRepository = parametrizationCorrectiveActionRepository; _sectorPlantRepository = sectorPlantRepository; _emailSettings = emailSettings.Value; }
public OverduePlannignDateUseCase(IMapper mapper, ICorrectiveActionRepository correctiveActionRepository, IEmailSender emailSender, IUserRepository userReopository, ICorrectiveActionStateRepository CorrectiveActionStateRepository, ICorrectiveActionStatesHistoryRepository correctiveActionStatesHistoryRepository, IHttpContextAccessor httpContextAccessor, IOptions <EmailSettings> emailSettings ) { _mapper = mapper; _correctiveActionRepository = correctiveActionRepository; _emailSender = emailSender; _userReopository = userReopository; _CorrectiveActionStateRepository = CorrectiveActionStateRepository; _correctiveActionStatesHistoryRepository = correctiveActionStatesHistoryRepository; _httpContextAccessor = httpContextAccessor; _emailSettings = emailSettings.Value; }
public RequestReassignACUseCase( IFindingRepository findingRepository, IReassignmentsFindingHistoryRepository reassignmentFindingHistoryRepository, IWorkflowCore workflowCore, IMapper mapper, IHttpContextAccessor httpContextAccessor, IHubContext <FindingsHub> hub, ICorrectiveActionRepository correctiveActionRepository ) { _findingRepository = findingRepository; _reassignmentsFindingHistoryRepository = reassignmentFindingHistoryRepository; _workflowCore = workflowCore; _mapper = mapper; _httpContextAccessor = httpContextAccessor; _hub = hub; _correctiveActionRepository = correctiveActionRepository; }
public ReviewedCorrectiveAction( ICorrectiveActionRepository correctiveActionRepository, ICorrectiveActionStateRepository correctiveActionStateRepository, ICorrectiveActionEvidenceRepository correctiveActionEvidenceRepository, ICorrectiveActionStatesHistoryRepository correctiveActionStateHistoryRepository, ISectorPlantRepository sectorPlantRepository, IWorkflowCore workflowCore, IUserWorkflowRepository userWorkflowRepository, IOptions <EmailSettings> emailSettings) { EmailAddresses = new List <string>(); _correctiveActionRepository = correctiveActionRepository; _correctiveActionStateRepository = correctiveActionStateRepository; _correctiveActionEvidenceRepository = correctiveActionEvidenceRepository; _correctiveActionStateHistoryRepository = correctiveActionStateHistoryRepository; _sectorPlantRepository = sectorPlantRepository; _userWorkflowRepository = userWorkflowRepository; _workflowCore = workflowCore; _emailSettings = emailSettings.Value; }
public OverdueEvaluateDateUseCase(IMapper mapper, ICorrectiveActionRepository correctiveActionRepository, IEmailSender emailSender, IUserRepository userReopository, ICorrectiveActionStateRepository CorrectiveActionStateRepository, ICorrectiveActionStatesHistoryRepository correctiveActionStatesHistoryRepository, IHttpContextAccessor httpContextAccessor, IOptions <EmailSettings> emailSettings, Hoshin.CrossCutting.WorkflowCore.Repositories.IUserWorkflowRepository userWorkflowRepository ) { _mapper = mapper; _correctiveActionRepository = correctiveActionRepository; _emailSender = emailSender; _userReopository = userReopository; _CorrectiveActionStateRepository = CorrectiveActionStateRepository; _correctiveActionStatesHistoryRepository = correctiveActionStatesHistoryRepository; _httpContextAccessor = httpContextAccessor; _emailSettings = emailSettings.Value; _userWorkflowRepository = userWorkflowRepository; }
public ExtendDueDateCorrectiveActionUseCase( ICorrectiveActionRepository correctiveActionRepository, ICorrectiveActionStatesHistoryRepository correctiveActionStatesHistoryRepository, IHttpContextAccessor httpContextAccessor, IEmailSender emailSender, IMapper mapper, ISectorPlantRepository sectorPlantRepository, IUserRepository userRepository, ICorrectiveActionStateRepository correctiveActionStateRepository, IOptions <EmailSettings> emailSettings) { _correctiveActionRepository = correctiveActionRepository; _correctiveActionStatesHistoryRepository = correctiveActionStatesHistoryRepository; _mapper = mapper; _httpContextAccessor = httpContextAccessor; _emailSender = emailSender; _sectorPlantRepository = sectorPlantRepository; _userRepository = userRepository; _correctiveActionStateRepository = correctiveActionStateRepository; _emailSettings = emailSettings.Value; }
public GetCountCorrectiveActionsUseCase(ICorrectiveActionRepository correctiveActionRepository) { _correctiveActionRepository = correctiveActionRepository; }
public DeleteCorrectiveActionUseCase(ICorrectiveActionRepository correctiveActionRepository) { this._correctiveActionRepository = correctiveActionRepository; }
public UpdateCorrectiveActionUseCase(ICorrectiveActionRepository correctiveActionRepository, IMapper mapper) { _correctiveActionRepository = correctiveActionRepository; _mapper = mapper; }
public EditImpactCorrectiveActionUseCase(ICorrectiveActionRepository correctiveActionRepository) { _correctiveActionRepository = correctiveActionRepository; }