From 191fd514aa94d9de5a34a941e98bb5f1170c791a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=BA=20=D0=98=D0=B3=D0=BE=D1=80=D1=8C?= Date: Sun, 9 Apr 2023 12:08:32 +0400 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=B8=D0=BD=D1=82=D0=B5=D1=80=D1=84=D0=B5?= =?UTF-8?q?=D0=B9=D1=81=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BusinessLogics/CustomerRoleImitationLogic.cs | 2 +- .../ICustomerRoleImitationLogic.cs | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 CarService/CarServiceContracts/BusinessLogicsContracts/ICustomerRoleImitationLogic.cs diff --git a/CarService/CarServiceBusinessLogic/BusinessLogics/CustomerRoleImitationLogic.cs b/CarService/CarServiceBusinessLogic/BusinessLogics/CustomerRoleImitationLogic.cs index d4b0437..0c88597 100644 --- a/CarService/CarServiceBusinessLogic/BusinessLogics/CustomerRoleImitationLogic.cs +++ b/CarService/CarServiceBusinessLogic/BusinessLogics/CustomerRoleImitationLogic.cs @@ -5,7 +5,7 @@ namespace CarServiceBusinessLogic.BusinessLogics /// /// Заглушка для роли клиента /// - public class CustomerRoleImitationLogic + public class CustomerRoleImitationLogic : ICustomerRoleImitationLogic { private readonly ICustomerLogic _customerLogic; private readonly IVehicleLogic _vehicleLogic; diff --git a/CarService/CarServiceContracts/BusinessLogicsContracts/ICustomerRoleImitationLogic.cs b/CarService/CarServiceContracts/BusinessLogicsContracts/ICustomerRoleImitationLogic.cs new file mode 100644 index 0000000..4998867 --- /dev/null +++ b/CarService/CarServiceContracts/BusinessLogicsContracts/ICustomerRoleImitationLogic.cs @@ -0,0 +1,9 @@ +namespace CarServiceContracts.BusinessLogicsContracts +{ + public interface ICustomerRoleImitationLogic + { + bool GenerateRequestData(); + bool GenerateWorksInRequest(); + bool GeneratePayments(); + } +}