forked from ddrilling/AsbCloudServer
24 lines
753 B
C#
24 lines
753 B
C#
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<string, int> SaveFilesPropertiesToDb(int idWell,
|
|
int idCategory, IEnumerable<(string fileName, int idWell, int idCategory,
|
|
DateTime date, int idUser)> filesInfo);
|
|
|
|
Task<PaginationContainer<FileInfoDto>> GetFilesInfoAsync(int idWell,
|
|
int idCategory, DateTime begin, DateTime end,
|
|
int skip, int take, CancellationToken token = default);
|
|
|
|
Task<FileInfoDto> GetFileInfoAsync(int fileId,
|
|
CancellationToken token);
|
|
}
|
|
}
|