public UploadFileHandler(
     ReaderAppContext dbContext,
     IAuthorizationService authService,
     IMapper mapper,
     IUserFileStore userFilesStore,
     IFileProcessedWordsCache filesWordsCache,
     ILemmatizer lemmatizer,
     IUserDictionary userDictionary,
     PipeBuilder pipeBuilder) : base(dbContext, authService, mapper) => (_userFilesStore, _filesWordsCache, _lemmatizer, _userDictionary, _pipeBuilder) = (userFilesStore, filesWordsCache, lemmatizer, userDictionary, pipeBuilder);
Beispiel #2
0
 public LoadFileQueryHandler(
     ReaderAppContext dbContext,
     IAuthorizationService authService,
     IMapper mapper,
     IUserFileStore userFilesStore) : base(dbContext, authService, mapper) => _userFilesStore = userFilesStore;
 public DeleteFileHandler(
     ReaderAppContext dbContext,
     IAuthorizationService authService,
     IMapper mapper,
     IUserFileStore userFilesStore,
     IFileProcessedWordsCache filesWordsCache) : base(dbContext, authService, mapper) => (_userFilesStore, _filesWordsCache) = (userFilesStore, filesWordsCache);