DD.WellWorkover.Cloud/AsbCloudApp/Services/ProcessMaps/IProcessMapReportExportService.cs

19 lines
551 B
C#
Raw Normal View History

using System.IO;
using System.Threading.Tasks;
using System.Threading;
namespace AsbCloudApp.Services.ProcessMaps;
/// <summary>
/// Сервис экспорт РТК
/// </summary>
public interface IProcessMapReportExportService
{
/// <summary>
/// Сформировать файл с данными
/// </summary>
/// <param name="idWell"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
Task<(string Name, Stream File)?> ExportAsync(int idWell, CancellationToken cancellationToken);
}