DD.WellWorkover.Cloud/AsbCloudApp/Services/IFileService.cs

21 lines
639 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using AsbCloudApp.Data;
namespace AsbCloudApp.Services
{
public interface IFileService
{
string RootPath { get; }
IDictionary<string, int> SaveFilesPropertiesToDb(int wellId,
int idCategory, IEnumerable<(string fileName, int idWell, int idCategory,
DateTime date, int idUser)> filesInfo);
PaginationContainer<FilePropertiesDto> GetFilesInfo(int wellId,
int idCategory, DateTime begin, DateTime end,
int skip, int take);
(int Id, string Name, int IdCategory)? GetFileInfo(int fileId);
}
}