ISEbd-21_Melnikov_I.O._CarS.../CarService/CarServiceContracts/BusinessLogicsContracts/IReportLogic.cs
2023-05-25 23:14:32 +04:00

36 lines
1.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using CarServiceContracts.BindingModels;
using CarServiceContracts.ViewModels;
namespace CarServiceContracts.BusinessLogicsContracts
{
public interface IReportLogic
{
/// <summary>
/// Получение списка заявок по выбранным работам
/// </summary>
/// <returns></returns>
List<ReportWorkWithRequestsViewModel> GetRequestsByWorks(ReportBindingModel model);
/// <summary>
/// Получение списка оплат за определенный период
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
List<ReportWorksWithPaymentsViewModel> GetPayments(ReportBindingModel model);
/// <summary>
/// Сохранение компонент в файл-Word
/// </summary>
/// <param name="model"></param>
void SaveRequestsToWordFile(ReportBindingModel model);
/// <summary>
/// Сохранение компонент с указаеним продуктов в файл-Excel
/// </summary>
/// <param name="model"></param>
void SaveRequestsToExcelFile(ReportBindingModel model);
/// <summary>
/// Сохранение заказов в файл-Pdf
/// </summary>
/// <param name="model"></param>
void SaveOrdersToPdfFile(ReportBindingModel model);
}
}