From e69943e524a7e46e7dabe4918e20e77034c9a85a Mon Sep 17 00:00:00 2001 From: FLARJ <122087628+FLARJ@users.noreply.github.com> Date: Sat, 8 Apr 2023 20:54:20 +0400 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=BD=D0=B0=D1=81=D0=BB=D0=B5=D0=B4=D0=BE?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=B2=20BusinessLogic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BusinessLogicsContracts/IHeadsetLogic.cs | 10 +++++----- .../BusinessLogicsContracts/ISalesSalonsLogic.cs | 12 ++++++------ .../BusinessLogic/HeadsetLogic.cs | 2 +- .../BusinessLogic/ManagerLogic.cs | 2 +- .../BusinessLogic/OrderLogic.cs | 2 +- .../BusinessLogic/SalesSalonLogic.cs | 2 +- .../OfficePackage/Implements/SaveToPdfManager.cs | 2 +- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IHeadsetLogic.cs b/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IHeadsetLogic.cs index 58ab138..516b938 100644 --- a/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IHeadsetLogic.cs +++ b/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IHeadsetLogic.cs @@ -7,9 +7,9 @@ namespace FurnitureContracts.BusinessLogicsContracts public interface IHeadsetLogic { List? ReadList(HeadsetSearchModel? model); - OrdersViewModel? ReadElement(OrderSearchModel model); - bool Create(OrdersBindingModel model); - bool Update(OrdersBindingModel model); - bool Delete(OrdersBindingModel model); + HeadsetViewModel? ReadElement(HeadsetSearchModel model); + bool Create(HeadsetBindingModel model); + bool Update(HeadsetBindingModel model); + bool Delete(HeadsetBindingModel model); } -} +} \ No newline at end of file diff --git a/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/ISalesSalonsLogic.cs b/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/ISalesSalonsLogic.cs index b9a8812..4b3a269 100644 --- a/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/ISalesSalonsLogic.cs +++ b/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/ISalesSalonsLogic.cs @@ -4,12 +4,12 @@ using FurnitureContracts.ViewModel; namespace FurnitureContracts.BusinessLogicsContracts { - public interface IOrdersLogic + public interface ISalesSalonsLogic { - List? ReadList(OrderSearchModel? model); - OrdersViewModel? ReadElement(OrderSearchModel model); - bool Create(OrdersBindingModel model); - bool Update(OrdersBindingModel model); - bool Delete(OrdersBindingModel model); + List? ReadList(SalesSalonsSearchModel? model); + SalesSalonsViewModel? ReadElement(SalesSalonsSearchModel model); + bool Create(SalesSalonsBindingModel model); + bool Update(SalesSalonsBindingModel model); + bool Delete(SalesSalonsBindingModel model); } } diff --git a/FurnitureFactory/FurnitureFactoryBusinessLogic/BusinessLogic/HeadsetLogic.cs b/FurnitureFactory/FurnitureFactoryBusinessLogic/BusinessLogic/HeadsetLogic.cs index b6b91f6..450b41b 100644 --- a/FurnitureFactory/FurnitureFactoryBusinessLogic/BusinessLogic/HeadsetLogic.cs +++ b/FurnitureFactory/FurnitureFactoryBusinessLogic/BusinessLogic/HeadsetLogic.cs @@ -13,7 +13,7 @@ using FurnitureFactoryDataBaseImplements.Implements; namespace FurnitureFactoryBusinessLogic.BusinessLogic { - internal class HeadsetLogic + public class HeadsetLogic : IHeadsetLogic { private readonly ILogger _logger; private readonly IHeadsetStorage _headsetStorage; diff --git a/FurnitureFactory/FurnitureFactoryBusinessLogic/BusinessLogic/ManagerLogic.cs b/FurnitureFactory/FurnitureFactoryBusinessLogic/BusinessLogic/ManagerLogic.cs index b00e5c9..1aff3d4 100644 --- a/FurnitureFactory/FurnitureFactoryBusinessLogic/BusinessLogic/ManagerLogic.cs +++ b/FurnitureFactory/FurnitureFactoryBusinessLogic/BusinessLogic/ManagerLogic.cs @@ -9,7 +9,7 @@ using FurnitureFactoryDataBaseImplements.Implements; namespace FurnitureFactoryBusinessLogic.BusinessLogic { - internal class ManagerLogic + public class ManagerLogic : IManagerLogic { private readonly ILogger _logger; private readonly IManagerStorage _managerStorage; diff --git a/FurnitureFactory/FurnitureFactoryBusinessLogic/BusinessLogic/OrderLogic.cs b/FurnitureFactory/FurnitureFactoryBusinessLogic/BusinessLogic/OrderLogic.cs index 21aa8eb..18529a7 100644 --- a/FurnitureFactory/FurnitureFactoryBusinessLogic/BusinessLogic/OrderLogic.cs +++ b/FurnitureFactory/FurnitureFactoryBusinessLogic/BusinessLogic/OrderLogic.cs @@ -8,7 +8,7 @@ using FurnitureFactoryDataBaseImplements.Implements; namespace FurnitureFactoryBusinessLogic.BusinessLogic { - internal class OrderLogic + public class OrderLogic : IOrderLogic { private readonly ILogger _logger; private readonly IOrdersStorage _orderStorage; diff --git a/FurnitureFactory/FurnitureFactoryBusinessLogic/BusinessLogic/SalesSalonLogic.cs b/FurnitureFactory/FurnitureFactoryBusinessLogic/BusinessLogic/SalesSalonLogic.cs index 628a35f..9a265a3 100644 --- a/FurnitureFactory/FurnitureFactoryBusinessLogic/BusinessLogic/SalesSalonLogic.cs +++ b/FurnitureFactory/FurnitureFactoryBusinessLogic/BusinessLogic/SalesSalonLogic.cs @@ -13,7 +13,7 @@ using FurnitureFactoryDataBaseImplements.Implements; namespace FurnitureFactoryBusinessLogic.BusinessLogic { - internal class SalesSalonLogic + public class SalesSalonLogic : ISalesSalonsLogic { private readonly ILogger _logger; private readonly ISalesSalonsStorage _salesSalonStorage; diff --git a/FurnitureFactory/FurnitureFactoryBusinessLogic/OfficePackage/Implements/SaveToPdfManager.cs b/FurnitureFactory/FurnitureFactoryBusinessLogic/OfficePackage/Implements/SaveToPdfManager.cs index cb60f39..9b31dd1 100644 --- a/FurnitureFactory/FurnitureFactoryBusinessLogic/OfficePackage/Implements/SaveToPdfManager.cs +++ b/FurnitureFactory/FurnitureFactoryBusinessLogic/OfficePackage/Implements/SaveToPdfManager.cs @@ -16,7 +16,7 @@ using DocumentFormat.OpenXml.Spreadsheet; namespace FurnitureFactoryBusinessLogic.OfficePackage.Implements { - internal class SaveToPdfManager + public class SaveToPdfManager { private Document? _document;