From 3b2c3613cccc482d1d70d73259111ece2bb9c13d Mon Sep 17 00:00:00 2001 From: Programmist73 Date: Wed, 29 Mar 2023 23:33:45 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B0=D1=87=D0=B0=D0=BB=D0=BE=20=D1=80?= =?UTF-8?q?=D0=B0=D0=B1=D0=BE=D1=82=20=D1=81=20=D0=B1=D0=B8=D0=B7=D0=BD?= =?UTF-8?q?=D0=B5=D1=81-=D0=BB=D0=BE=D0=B3=D0=B8=D0=BA=D0=BE=D0=B9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TransportCompany/TransportCompany.sln | 6 +++ .../BusinessLogic/ClientLogic.cs | 42 +++++++++++++++++++ .../TransportCompanyBusinessLogic.csproj | 9 ++++ 3 files changed, 57 insertions(+) create mode 100644 TransportCompany/TransportCompanyBusinessLogic/BusinessLogic/ClientLogic.cs create mode 100644 TransportCompany/TransportCompanyBusinessLogic/TransportCompanyBusinessLogic.csproj diff --git a/TransportCompany/TransportCompany.sln b/TransportCompany/TransportCompany.sln index 9ecf1f8..6ef24a9 100644 --- a/TransportCompany/TransportCompany.sln +++ b/TransportCompany/TransportCompany.sln @@ -9,6 +9,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TransportCompanyDataModels" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TransportCompanyContracts", "TransportCompanyContracts\TransportCompanyContracts.csproj", "{8707D719-D7B3-4F64-8BBE-DE9C7014DD13}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TransportCompanyBusinessLogic", "TransportCompanyBusinessLogic\TransportCompanyBusinessLogic.csproj", "{5FD7F1C8-0B2C-4AD4-91FD-A4475274FD3A}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -27,6 +29,10 @@ Global {8707D719-D7B3-4F64-8BBE-DE9C7014DD13}.Debug|Any CPU.Build.0 = Debug|Any CPU {8707D719-D7B3-4F64-8BBE-DE9C7014DD13}.Release|Any CPU.ActiveCfg = Release|Any CPU {8707D719-D7B3-4F64-8BBE-DE9C7014DD13}.Release|Any CPU.Build.0 = Release|Any CPU + {5FD7F1C8-0B2C-4AD4-91FD-A4475274FD3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5FD7F1C8-0B2C-4AD4-91FD-A4475274FD3A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5FD7F1C8-0B2C-4AD4-91FD-A4475274FD3A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5FD7F1C8-0B2C-4AD4-91FD-A4475274FD3A}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/TransportCompany/TransportCompanyBusinessLogic/BusinessLogic/ClientLogic.cs b/TransportCompany/TransportCompanyBusinessLogic/BusinessLogic/ClientLogic.cs new file mode 100644 index 0000000..0c8fc77 --- /dev/null +++ b/TransportCompany/TransportCompanyBusinessLogic/BusinessLogic/ClientLogic.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TransportCompanyContracts.BindingModels; +using TransportCompanyContracts.BusinessLogicsContracts; +using TransportCompanyContracts.SearchModels; +using TransportCompanyContracts.ViewModels; + +namespace TransportCompanyBusinessLogic.BusinessLogic +{ + public class ClientLogic : IClientLogic + { + private readonly ILogger _logger; + + public ClientViewModel? ReadElement(ClientSearchModel model) + { + throw new NotImplementedException(); + } + + public List? ReadList(ClientSearchModel? model) + { + throw new NotImplementedException(); + } + + public bool Create(ClientBindingModel model) + { + throw new NotImplementedException(); + } + + public bool Update(ClientBindingModel model) + { + throw new NotImplementedException(); + } + + public bool Delete(ClientBindingModel model) + { + throw new NotImplementedException(); + } + } +} diff --git a/TransportCompany/TransportCompanyBusinessLogic/TransportCompanyBusinessLogic.csproj b/TransportCompany/TransportCompanyBusinessLogic/TransportCompanyBusinessLogic.csproj new file mode 100644 index 0000000..132c02c --- /dev/null +++ b/TransportCompany/TransportCompanyBusinessLogic/TransportCompanyBusinessLogic.csproj @@ -0,0 +1,9 @@ + + + + net6.0 + enable + enable + + +