DD.WellWorkover.Cloud/AsbCloudApp/Services/IFileService.cs
2021-08-09 15:41:42 +05:00

21 lines
638 B
C#

using AsbCloudApp.Data;
using System;
using System.Collections.Generic;
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);
PaginationContainer<FilePropertiesDto> GetFilesInfo(int idWell,
int idCategory, DateTime begin, DateTime end,
int skip, int take);
(int Id, string Name, int IdCategory)? GetFileInfo(int fileId);
}
}