public FileService( IFileRepository fileRepository, FileSearchRepository fileSearchRepository, FileHistoryService fileHistoryService, UserService userService, IMapper mapper, ILogger <FileService> logger, ConfigurationService configuration, IFileEditStateService stateService) { _fileRepository = fileRepository; _fileSearchRepository = fileSearchRepository; _fileHistoryService = fileHistoryService; _userService = userService; _mapper = mapper; _logger = logger; _stateService = stateService; _maxFilesInProjectCount = configuration.MaxFilesInProjectCount; _maxFileSize = configuration.MaxFileSize; }
public FileSearchController(FileSearchRepository fileSearchRepository, ILogger <FileSearchController> logger, IProjectService projectService) { _fileSearchRepository = fileSearchRepository; _logger = logger; _projectService = projectService; }