2023-11-03 19:35:52 +05:00
|
|
|
using System;
|
|
|
|
using System.IO;
|
|
|
|
using System.Threading;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Services.DailyReport;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Сервис экспорта суточного отчёта
|
|
|
|
/// </summary>
|
|
|
|
public interface IDailyReportExportService
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Экспортировать
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="idWell"></param>
|
2023-12-20 16:55:17 +05:00
|
|
|
/// <param name="dailyReportDate"></param>
|
2023-11-03 19:35:52 +05:00
|
|
|
/// <param name="cancellationToken"></param>
|
|
|
|
/// <returns></returns>
|
2023-12-20 16:55:17 +05:00
|
|
|
Task<(string FileName, Stream File)> ExportAsync(int idWell, DateOnly dailyReportDate, CancellationToken cancellationToken);
|
2023-11-03 19:35:52 +05:00
|
|
|
}
|