From 65dabf026f56a83197c04bc7552f48fdd44011a6 Mon Sep 17 00:00:00 2001 From: malimova Date: Thu, 11 Apr 2024 23:04:23 +0400 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81=20=D0=BE=D1=88=D0=B8?= =?UTF-8?q?=D0=B1=D0=BE=D0=BA......?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ConfectioneryBusinessLogic/ExcelInfo.cs | 21 +++++++++++++++++++ .../ReportOrdersViewModel.cs | 2 +- .../ReportPastryComponentViewModel.cs | 2 +- 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 Confectionery/ConfectioneryBusinessLogic/ExcelInfo.cs rename Confectionery/ConfectioneryContracts/{BindingModels => ViewModels}/ReportOrdersViewModel.cs (88%) rename Confectionery/ConfectioneryContracts/{BindingModels => ViewModels}/ReportPastryComponentViewModel.cs (88%) diff --git a/Confectionery/ConfectioneryBusinessLogic/ExcelInfo.cs b/Confectionery/ConfectioneryBusinessLogic/ExcelInfo.cs new file mode 100644 index 0000000..a6e19c2 --- /dev/null +++ b/Confectionery/ConfectioneryBusinessLogic/ExcelInfo.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using ConfectioneryContracts.ViewModels; + +namespace ConfectioneryBusinessLogic.OfficePackage.HelperModels +{ + public class ExcelInfo + { + public string FileName { get; set; } = string.Empty; + public string Title { get; set; } = string.Empty; + public List PastryComponents + { + get; + set; + } = new(); + + } +} diff --git a/Confectionery/ConfectioneryContracts/BindingModels/ReportOrdersViewModel.cs b/Confectionery/ConfectioneryContracts/ViewModels/ReportOrdersViewModel.cs similarity index 88% rename from Confectionery/ConfectioneryContracts/BindingModels/ReportOrdersViewModel.cs rename to Confectionery/ConfectioneryContracts/ViewModels/ReportOrdersViewModel.cs index bfb537c..88e4738 100644 --- a/Confectionery/ConfectioneryContracts/BindingModels/ReportOrdersViewModel.cs +++ b/Confectionery/ConfectioneryContracts/ViewModels/ReportOrdersViewModel.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace ConfectioneryContracts.BindingModels +namespace ConfectioneryContracts.ViewModels { public class ReportOrdersViewModel { diff --git a/Confectionery/ConfectioneryContracts/BindingModels/ReportPastryComponentViewModel.cs b/Confectionery/ConfectioneryContracts/ViewModels/ReportPastryComponentViewModel.cs similarity index 88% rename from Confectionery/ConfectioneryContracts/BindingModels/ReportPastryComponentViewModel.cs rename to Confectionery/ConfectioneryContracts/ViewModels/ReportPastryComponentViewModel.cs index bc147f6..6813316 100644 --- a/Confectionery/ConfectioneryContracts/BindingModels/ReportPastryComponentViewModel.cs +++ b/Confectionery/ConfectioneryContracts/ViewModels/ReportPastryComponentViewModel.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace ConfectioneryContracts.BindingModels +namespace ConfectioneryContracts.ViewModels { public class ReportPastryComponentViewModel {