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

19 lines
545 B
C#

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 idCategory,
DateTime date, int idUser)> filesInfo);
IEnumerable<FilePropertiesDto> GetFilesInfo(int wellId, int idCategory);
(int Id, string Name, int IdCategory)? GetFileInfo(int fileId);
}
}