/// <summary> /// /// </summary> /// <param name="hostingEnvironment"></param> /// <param name="contextAccessor"></param> /// <param name="uploadServices"></param> /// <param name="downloadServices"></param> /// <param name="storeFilesServices"></param> public StoreFilesController(IHostingEnvironment hostingEnvironment, IHttpContextAccessor contextAccessor, IFileUploadServices uploadServices, IFileDownloadServices downloadServices, IStoreFilesServices storeFilesServices) { _hostingEnvironment = hostingEnvironment; _contextAccessor = contextAccessor; _uploadServices = uploadServices; _downloadServices = downloadServices; _storeFilesServices = storeFilesServices; }
/// <summary> /// /// </summary> /// <param name="hostingEnvironment"></param> public FileUploadController(IHostingEnvironment hostingEnvironment, IFileUploadServices fileUploadServices) { _hostingEnvironment = hostingEnvironment; _fileUploadServices = fileUploadServices; }