CourseWorkElectronicsShop/ElectronicsShop/ElectronicsShopContracts/BusinessLogicContracts/IReportClientLogic.cs
Илья Федотов a9ec52a3f7 Excel order
2024-07-27 13:38:35 +04:00

29 lines
1.1 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 ElectronicsShopContracts.BindingModels;
using ElectronicsShopContracts.ViewModels;
using MigraDoc.DocumentObjectModel;
using PdfSharp.Pdf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicsShopContracts.BusinessLogicContracts
{
public interface IReportClientLogic
{
// получение списка товаров с указанием, в какие оплаты товар входит
List<ReportPaymeantProductsViewModel>? GetPaymeantProducts(int _clientID);
// получения списка оплат
List<ReportPaymeantsViewModel>? GetPaymeants(ReportBindingModel model);
// Сохранение отчета оплат в .word
byte[]? SavePaymeantToWordFile(int _clientID);
// Сохранение отчета оплат с товарами в .excel
byte[]? SavePaymeantToExcelFile(int _clientID);
// Отчет оплаченных товаров в .pdf
PdfDocument SaveProductToPdfFile(ReportBindingModel model);
}
}