From 65278a764a052f02550d3dadf00015882455ef15 Mon Sep 17 00:00:00 2001 From: Programmist73 Date: Wed, 15 Mar 2023 19:16:10 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BB=D0=B0=D1=81=D1=81=20=D1=81=20?= =?UTF-8?q?=D0=B1=D0=B8=D0=B7=D0=BD=D0=B5=D1=81=20=D0=BB=D0=BE=D0=B3=D0=B8?= =?UTF-8?q?=D0=BA=D0=BE=D0=B9=20=D0=B4=D0=BB=D1=8F=20=D0=BE=D1=82=D1=87?= =?UTF-8?q?=D1=91=D1=82=D0=BE=D0=B2.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BusinessLogicsContracts/IReportLogic.cs | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 BlacksmithWorkshop/BlacksmithWorkshopContracts/BusinessLogicsContracts/IReportLogic.cs diff --git a/BlacksmithWorkshop/BlacksmithWorkshopContracts/BusinessLogicsContracts/IReportLogic.cs b/BlacksmithWorkshop/BlacksmithWorkshopContracts/BusinessLogicsContracts/IReportLogic.cs new file mode 100644 index 0000000..04531c8 --- /dev/null +++ b/BlacksmithWorkshop/BlacksmithWorkshopContracts/BusinessLogicsContracts/IReportLogic.cs @@ -0,0 +1,28 @@ +using BlacksmithWorkshopContracts.BindingModels; +using BlacksmithWorkshopContracts.ViewModels; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BlacksmithWorkshopContracts.BusinessLogicsContracts +{ + public interface IReportLogic + { + //Получение списка заготовок с указанием, в каких изделиях используются + List GetManufactureWorkPiece(); + + //Получение списка заказов за определенный период + List GetOrders(ReportBindingModel model); + + //Сохранение заготовок в файл-Word + void SaveWorkPiecesToWordFile(ReportBindingModel model); + + //Сохранение заготовок с указаеним изделий в файл-Excel + void SaveManufactureWorkPieceToExcelFile(ReportBindingModel model); + + //Сохранение заказов в файл-Pdf + void SaveOrdersToPdfFile(ReportBindingModel model); + } +}