using AsbCloudApp.Data; using System; using System.IO; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace AsbCloudApp.Services { public interface IFileService { string RootPath { get; } IDictionary SaveFileInfos(int idWell, int idUser, IEnumerable filesInfo); Task SaveFile(int idWell, int idCategory, int fileId, string fileExtension, Stream fileStream); Task> GetFilesInfoAsync(int idWell, int idCategory, DateTime begin, DateTime end, int skip, int take, CancellationToken token = default); Task GetFileInfoAsync(int fileId, CancellationToken token); Task DeleteFileAsync(int idFile, CancellationToken token = default); } }