using AsbCloudApp.Data; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace AsbCloudApp.Services { public interface IFileService { string RootPath { get; } IDictionary SaveFilesPropertiesToDb(int idWell, int idCategory, IEnumerable<(string fileName, int idWell, int idCategory, DateTime date, int idUser)> filesInfo); Task> GetFilesInfoAsync(int idWell, int idCategory, DateTime begin, DateTime end, int skip, int take, CancellationToken token = default); Task<(int Id, string Name, int IdCategory)?> GetFileInfoAsync(int fileId, CancellationToken token); } }