2024-07-09 19:40:24 +04:00
|
|
|
|
using DocumentFormat.OpenXml.Packaging;
|
|
|
|
|
using ElectronicsShopContracts.BindingModels;
|
2024-05-31 19:49:56 +04:00
|
|
|
|
using ElectronicsShopContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ElectronicsShopContracts.BusinessLogicContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IReportClientLogic
|
|
|
|
|
{
|
2024-07-02 17:28:23 +04:00
|
|
|
|
// получение списка товаров с указанием, в какие оплаты товар входит
|
|
|
|
|
List<ReportPaymeantProductsViewModel> GetPaymeantProducts(int _clientID);
|
|
|
|
|
// получения списка оплат
|
2024-06-01 02:22:36 +04:00
|
|
|
|
List<ReportPaymeantsViewModel> GetPaymeants(ReportBindingModel model);
|
2024-07-10 18:32:46 +04:00
|
|
|
|
byte[] SavePaymeantToWordFile(int _clientID);
|
2024-07-02 17:28:23 +04:00
|
|
|
|
|
2024-07-09 19:40:24 +04:00
|
|
|
|
// Сохранение компонент с указанием отчета в .excel
|
2024-07-10 18:32:46 +04:00
|
|
|
|
byte[] SavePaymeantToExcelFile(int _clientID);
|
2024-06-01 02:22:36 +04:00
|
|
|
|
}
|
2024-05-31 19:49:56 +04:00
|
|
|
|
}
|