2021-07-23 17:40:31 +05:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using AsbCloudApp.Data;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Services
|
|
|
|
|
{
|
|
|
|
|
public interface IFileService
|
|
|
|
|
{
|
|
|
|
|
string RootPath { get; }
|
|
|
|
|
IDictionary<string, int> SaveFilesPropertiesToDb(int wellId,
|
2021-07-26 11:54:50 +05:00
|
|
|
|
int idCategory, IEnumerable<(string fileName, int idWell, int idCategory,
|
2021-07-23 17:40:31 +05:00
|
|
|
|
DateTime date, int idUser)> filesInfo);
|
|
|
|
|
|
2021-07-26 11:54:50 +05:00
|
|
|
|
PaginationContainer<FilePropertiesDto> GetFilesInfo(int wellId,
|
|
|
|
|
int idCategory, DateTime begin, DateTime end,
|
|
|
|
|
int skip, int take);
|
2021-07-23 17:40:31 +05:00
|
|
|
|
|
|
|
|
|
(int Id, string Name, int IdCategory)? GetFileInfo(int fileId);
|
|
|
|
|
}
|
|
|
|
|
}
|