Example #1
0
 public ImageValidation(IAzureStorageRepository imageRepository,
                        IPersonRepository personRepository,
                        IHttpContextAccessor contextAccessor) : base(contextAccessor)
 {
     _imageRepository  = imageRepository;
     _personRepository = personRepository;
 }
Example #2
0
 public UploadImageRequestHandler(IImageResizer imageResizer, IAzureStorageRepository azureStorageRepository, IMongoRepository mongoRepository, IWebHostEnvironment environment)
 {
     _imageResizer           = imageResizer;
     _azureStorageRepository = azureStorageRepository;
     _mongoRepository        = mongoRepository;
     _environment            = environment;
 }
 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 CreateFindingUseCase(
     IWorkflowCore workflowCore,
     IAzureStorageRepository azureStorageRepository,
     IOptions <AzureStorageBlobSettings> azureStorageSettings)
 {
     _workflowCore           = workflowCore;
     _azureStorageRepository = azureStorageRepository;
     _azureStorageSettings   = azureStorageSettings.Value;
 }
 public EvaluateCorrectiveActionUseCase(IAzureStorageRepository azureStorageRepository,
                                        IWorkflowCore workflowCore,
                                        ICorrectiveActionRepository correctiveActionRepository,
                                        IOptions <AzureStorageBlobSettings> azureStorageSettings
                                        )
 {
     _azureStorageRepository     = azureStorageRepository;
     _workflowCore               = workflowCore;
     _correctiveActionRepository = correctiveActionRepository;
     _azureStorageSettings       = azureStorageSettings.Value;
 }
Example #6
0
 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 AthleteService(
     SportClubsChallengesDbContext db,
     ITokenService tokenService,
     IIdentityService identityService,
     IAzureStorageRepository storageRepository,
     IMapper mapper)
 {
     this.db                = db;
     this.tokenService      = tokenService;
     this.identityService   = identityService;
     this.storageRepository = storageRepository;
     this.mapper            = mapper;
 }
 public ApproveFindingUseCase(
     IWorkflowCore workflowCore,
     IAzureStorageRepository azureStorageRepository,
     IHttpContextAccessor httpContextAccessor,
     IFindingRepository findingRepository,
     IHubContext <FindingsHub> hub,
     IOptions <AzureStorageBlobSettings> azureStorageSettings)
 {
     _workflowCore           = workflowCore;
     _azureStorageRepository = azureStorageRepository;
     _httpContextAccessor    = httpContextAccessor;
     _findingRepository      = findingRepository;
     _hub = hub;
     _azureStorageSettings = azureStorageSettings.Value;
 }
Example #9
0
 public UpdateApprovedFindingUseCase(
     IWorkflowCore workflowCore,
     IAzureStorageRepository azureStorageRepository,
     IUserLoggedHelper userLoggedHelper,
     IUserRepository userRepository,
     IOptions <AzureStorageBlobSettings> azureStorageSettings,
     IHubContext <FindingsHub> hub,
     IFindingRepository findingRepository)
 {
     _workflowCore           = workflowCore;
     _azureStorageRepository = azureStorageRepository;
     _userLoggedHelper       = userLoggedHelper;
     _userRepository         = userRepository;
     _azureStorageSettings   = azureStorageSettings.Value;
     _hub = hub;
     _findingRepository = findingRepository;
 }
 public AzureStorageService(IAzureStorageRepository storageRepository)
 {
     _azureStorageRepository = storageRepository;
 }
Example #11
0
 public AzureQueuesClient(IAzureStorageRepository storageRepository)
 {
     this.storageRepository = storageRepository;
 }
 public ZipService(IAzureStorageRepository azureStorageRepository)
 {
     this._azureStorageRepository = azureStorageRepository;
 }
 public ChallengeService(IMapper mapper, SportClubsChallengesDbContext db, IAzureStorageRepository storageRepository)
 {
     this.mapper            = mapper;
     this.db                = db;
     this.storageRepository = storageRepository;
 }
Example #14
0
 public ImageLogic(IAzureStorageRepository imageRepository,
                   IPersonRepository personRepository)
 {
     _imageRepository  = imageRepository;
     _personRepository = personRepository;
 }