2023-02-27 09:36:43 +04:00
|
|
|
|
using FurnitureAssemblyContracts.BindingModels;
|
|
|
|
|
using FurnitureAssemblyContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace FurnitureAssemblyContracts.BusinessLogicsContarcts
|
|
|
|
|
{
|
|
|
|
|
public interface IReportLogic
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение списка компонент с указанием, в каких изделиях используются
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
2023-02-27 09:59:35 +04:00
|
|
|
|
List<ReportFurnitureComponentViewModel> GetFurnitureComponent();
|
2023-02-27 09:36:43 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение списка заказов за определенный период
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
List<ReportOrdersViewModel> GetOrders(ReportBindingModel model);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение компонент в файл-Word
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
2023-03-11 08:24:40 +04:00
|
|
|
|
void SaveFurnituresToWordFile(ReportBindingModel model);
|
2023-02-27 09:36:43 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение компонент с указаеним продуктов в файл-Excel
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
2023-02-27 09:59:35 +04:00
|
|
|
|
void SaveFurnitureComponentToExcelFile(ReportBindingModel model);
|
2023-02-27 09:36:43 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение заказов в файл-Pdf
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
void SaveOrdersToPdfFile(ReportBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|