From df65646810099a58cca6d3f4aa2b653a98704837 Mon Sep 17 00:00:00 2001 From: Programmist73 Date: Tue, 4 Apr 2023 22:36:21 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9C=D0=B5=D0=BB=D0=BA=D0=B8=D0=B5=20=D0=BF?= =?UTF-8?q?=D1=80=D0=B0=D0=B2=D0=BA=D0=B8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BankYouBankrupt/BankYouBankrupt/Program.cs | 2 ++ .../OfficePackage/HelperModels/ExcelInfo.cs | 6 +----- .../OfficePackage/HelperModels/PdfInfo.cs | 4 ++-- .../OfficePackage/HelperModels/WordInfo.cs | 6 +++--- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/BankYouBankrupt/BankYouBankrupt/Program.cs b/BankYouBankrupt/BankYouBankrupt/Program.cs index 14b3280..8f08c1c 100644 --- a/BankYouBankrupt/BankYouBankrupt/Program.cs +++ b/BankYouBankrupt/BankYouBankrupt/Program.cs @@ -35,6 +35,8 @@ namespace BankYouBankruptView option.SetMinimumLevel(LogLevel.Information); option.AddNLog("nlog.config"); }); + + services.AddTransient(); } } } \ No newline at end of file diff --git a/BankYouBankrupt/BankYouBankruptBusinessLogic/OfficePackage/HelperModels/ExcelInfo.cs b/BankYouBankrupt/BankYouBankruptBusinessLogic/OfficePackage/HelperModels/ExcelInfo.cs index a54be94..99cbc13 100644 --- a/BankYouBankrupt/BankYouBankruptBusinessLogic/OfficePackage/HelperModels/ExcelInfo.cs +++ b/BankYouBankrupt/BankYouBankruptBusinessLogic/OfficePackage/HelperModels/ExcelInfo.cs @@ -1,5 +1,4 @@ -using BlacksmithWorkshopContracts.ViewModels; -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Text; @@ -15,8 +14,5 @@ namespace BankYouBankruptBusinessLogic.OfficePackage.HelperModels //заголовок public string Title { get; set; } = string.Empty; - - //список заготовок по изделиям - public List ManufactureWorkPieces { get; set; } = new(); } } diff --git a/BankYouBankrupt/BankYouBankruptBusinessLogic/OfficePackage/HelperModels/PdfInfo.cs b/BankYouBankrupt/BankYouBankruptBusinessLogic/OfficePackage/HelperModels/PdfInfo.cs index 65f6bdf..e889ddb 100644 --- a/BankYouBankrupt/BankYouBankruptBusinessLogic/OfficePackage/HelperModels/PdfInfo.cs +++ b/BankYouBankrupt/BankYouBankruptBusinessLogic/OfficePackage/HelperModels/PdfInfo.cs @@ -1,4 +1,4 @@ -using BlacksmithWorkshopContracts.ViewModels; +using BankYouBankruptContracts.ViewModels; using System; using System.Collections.Generic; using System.Linq; @@ -19,6 +19,6 @@ namespace BankYouBankruptBusinessLogic.OfficePackage.HelperModels public DateTime DateTo { get; set; } //перечень заказов за указанный период для вывода/сохранения - public List Orders { get; set; } = new(); + public List reportAccounts { get; set; } = new(); } } diff --git a/BankYouBankrupt/BankYouBankruptBusinessLogic/OfficePackage/HelperModels/WordInfo.cs b/BankYouBankrupt/BankYouBankruptBusinessLogic/OfficePackage/HelperModels/WordInfo.cs index 7e163c6..c1329ac 100644 --- a/BankYouBankrupt/BankYouBankruptBusinessLogic/OfficePackage/HelperModels/WordInfo.cs +++ b/BankYouBankrupt/BankYouBankruptBusinessLogic/OfficePackage/HelperModels/WordInfo.cs @@ -1,4 +1,4 @@ -using BlacksmithWorkshopContracts.ViewModels; +using BankYouBankruptContracts.ViewModels; using System; using System.Collections.Generic; using System.Linq; @@ -14,7 +14,7 @@ namespace BankYouBankruptBusinessLogic.OfficePackage.HelperModels public string Title { get; set; } = string.Empty; - //список заготовок для вывода и сохранения - public List Manufactures { get; set; } = new(); + //список счетов для вывода и сохранения + public List Accounts { get; set; } = new(); } }