From 271dad55c34e5294be08bb7bd96eee5a462a9d94 Mon Sep 17 00:00:00 2001 From: FLARJ <122087628+FLARJ@users.noreply.github.com> Date: Wed, 5 Apr 2023 23:06:55 +0400 Subject: [PATCH] =?UTF-8?q?=D0=B7=D0=B0=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20BusinessLogicsContracts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BusinessLogicsContracts/IHeadsetLogic.cs | 15 +++++++++++++++ .../BusinessLogicsContracts/IOrdersLogic.cs | 12 ++++++------ .../BusinessLogicsContracts/IRoleLogic.cs | 15 +++++++++++++++ .../BusinessLogicsContracts/ISalesSalonsLogic.cs | 15 +++++++++++++++ 4 files changed, 51 insertions(+), 6 deletions(-) create mode 100644 FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IHeadsetLogic.cs create mode 100644 FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IRoleLogic.cs create mode 100644 FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/ISalesSalonsLogic.cs diff --git a/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IHeadsetLogic.cs b/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IHeadsetLogic.cs new file mode 100644 index 0000000..b9a8812 --- /dev/null +++ b/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IHeadsetLogic.cs @@ -0,0 +1,15 @@ +using FurnitureContracts.BindingModels; +using FurnitureContracts.SearchModels; +using FurnitureContracts.ViewModel; + +namespace FurnitureContracts.BusinessLogicsContracts +{ + public interface IOrdersLogic + { + List? ReadList(OrderSearchModel? model); + OrdersViewModel? ReadElement(OrderSearchModel model); + bool Create(OrdersBindingModel model); + bool Update(OrdersBindingModel model); + bool Delete(OrdersBindingModel model); + } +} diff --git a/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IOrdersLogic.cs b/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IOrdersLogic.cs index 8bd95b2..cd36f1c 100644 --- a/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IOrdersLogic.cs +++ b/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IOrdersLogic.cs @@ -4,12 +4,12 @@ using FurnitureContracts.ViewModel; namespace FurnitureContracts.BusinessLogicsContracts { - public class IOrdersLogic + public interface IRoleLogic { - List? ReadList(OrderSearchModel? model); - OrdersViewModel? ReadElement(OrderSearchModel model); - bool Create(OrdersBindingModel model); - bool Update(OrdersBindingModel model); - bool Delete(OrdersBindingModel model); + List? ReadList(RoleSearchModel? model); + RoleViewModel? ReadElement(RoleSearchModel model); + bool Create(RoleBindingModel model); + bool Update(RoleBindingModel model); + bool Delete(RoleBindingModel model); } } diff --git a/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IRoleLogic.cs b/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IRoleLogic.cs new file mode 100644 index 0000000..b9a8812 --- /dev/null +++ b/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/IRoleLogic.cs @@ -0,0 +1,15 @@ +using FurnitureContracts.BindingModels; +using FurnitureContracts.SearchModels; +using FurnitureContracts.ViewModel; + +namespace FurnitureContracts.BusinessLogicsContracts +{ + public interface IOrdersLogic + { + List? ReadList(OrderSearchModel? model); + OrdersViewModel? ReadElement(OrderSearchModel model); + bool Create(OrdersBindingModel model); + bool Update(OrdersBindingModel model); + bool Delete(OrdersBindingModel model); + } +} diff --git a/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/ISalesSalonsLogic.cs b/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/ISalesSalonsLogic.cs new file mode 100644 index 0000000..b9a8812 --- /dev/null +++ b/FurnitureFactory/FurnitureContracts/BusinessLogicsContracts/ISalesSalonsLogic.cs @@ -0,0 +1,15 @@ +using FurnitureContracts.BindingModels; +using FurnitureContracts.SearchModels; +using FurnitureContracts.ViewModel; + +namespace FurnitureContracts.BusinessLogicsContracts +{ + public interface IOrdersLogic + { + List? ReadList(OrderSearchModel? model); + OrdersViewModel? ReadElement(OrderSearchModel model); + bool Create(OrdersBindingModel model); + bool Update(OrdersBindingModel model); + bool Delete(OrdersBindingModel model); + } +}