From e46be09449a36b80692d0b099ca205500b60ee1b Mon Sep 17 00:00:00 2001 From: Safgerd Date: Sun, 12 Feb 2023 20:41:23 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BE=D0=B7=D0=B4=D0=B0=D0=BD=D1=8B=20Bi?= =?UTF-8?q?nding,=20Search,=20View,=20=D0=BA=D0=BE=D0=BD=D1=82=D1=80=D0=B0?= =?UTF-8?q?=D0=BA=D1=82=D1=8B=20=D0=B1=D0=B8=D0=B7=D0=BD=D0=B5=D1=81=20?= =?UTF-8?q?=D0=BB=D0=BE=D0=B3=D0=B8=D0=BA=D0=B8=20=D0=B8=20=D1=85=D1=80?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D0=BB=D0=B8=D1=89=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AutomobilePlant/AutomobilePlant.sln | 6 ++++++ .../AutomobilePlantContracts.csproj | 9 +++++++++ .../BindingModels/CarBindingModel.cs | 12 ++++++++++++ .../BindingModels/ComponentBindingModel.cs | 17 +++++++++++++++++ .../BindingModels/OrderBindingModel.cs | 12 ++++++++++++ .../BusinessLogicContracts/ICarLogic.cs | 12 ++++++++++++ .../BusinessLogicContracts/IComponentLogic.cs | 12 ++++++++++++ .../BusinessLogicContracts/IOrderLogic.cs | 12 ++++++++++++ .../SearchModels/CarSearchModel.cs | 12 ++++++++++++ .../SearchModels/ComponentSearchModel.cs | 12 ++++++++++++ .../SearchModels/OrderSearchModel.cs | 12 ++++++++++++ .../StorageContracts/ICarStorage.cs | 12 ++++++++++++ .../StorageContracts/IComponentStorage.cs | 12 ++++++++++++ .../StorageContracts/IOrderStorage.cs | 12 ++++++++++++ .../ViewModels/CarViewModel.cs | 12 ++++++++++++ .../ViewModels/ComponentViewModel.cs | 12 ++++++++++++ .../ViewModels/OrderViewModel.cs | 12 ++++++++++++ 17 files changed, 200 insertions(+) create mode 100644 AutomobilePlant/AutomobilePlantContracts/AutomobilePlantContracts.csproj create mode 100644 AutomobilePlant/AutomobilePlantContracts/BindingModels/CarBindingModel.cs create mode 100644 AutomobilePlant/AutomobilePlantContracts/BindingModels/ComponentBindingModel.cs create mode 100644 AutomobilePlant/AutomobilePlantContracts/BindingModels/OrderBindingModel.cs create mode 100644 AutomobilePlant/AutomobilePlantContracts/BusinessLogicContracts/ICarLogic.cs create mode 100644 AutomobilePlant/AutomobilePlantContracts/BusinessLogicContracts/IComponentLogic.cs create mode 100644 AutomobilePlant/AutomobilePlantContracts/BusinessLogicContracts/IOrderLogic.cs create mode 100644 AutomobilePlant/AutomobilePlantContracts/SearchModels/CarSearchModel.cs create mode 100644 AutomobilePlant/AutomobilePlantContracts/SearchModels/ComponentSearchModel.cs create mode 100644 AutomobilePlant/AutomobilePlantContracts/SearchModels/OrderSearchModel.cs create mode 100644 AutomobilePlant/AutomobilePlantContracts/StorageContracts/ICarStorage.cs create mode 100644 AutomobilePlant/AutomobilePlantContracts/StorageContracts/IComponentStorage.cs create mode 100644 AutomobilePlant/AutomobilePlantContracts/StorageContracts/IOrderStorage.cs create mode 100644 AutomobilePlant/AutomobilePlantContracts/ViewModels/CarViewModel.cs create mode 100644 AutomobilePlant/AutomobilePlantContracts/ViewModels/ComponentViewModel.cs create mode 100644 AutomobilePlant/AutomobilePlantContracts/ViewModels/OrderViewModel.cs diff --git a/AutomobilePlant/AutomobilePlant.sln b/AutomobilePlant/AutomobilePlant.sln index 89f64e1..15cc0c6 100644 --- a/AutomobilePlant/AutomobilePlant.sln +++ b/AutomobilePlant/AutomobilePlant.sln @@ -7,6 +7,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutomobilePlant", "Automobi EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutomobilePlantDataModels", "AutomobilePlantDataModels\AutomobilePlantDataModels.csproj", "{27B6E4A1-BB53-4AF6-AACA-099A40B64D60}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AutomobilePlantContracts", "AutomobilePlantContracts\AutomobilePlantContracts.csproj", "{2F1D0A55-2722-48B4-87D1-0440E74D6E0A}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -21,6 +23,10 @@ Global {27B6E4A1-BB53-4AF6-AACA-099A40B64D60}.Debug|Any CPU.Build.0 = Debug|Any CPU {27B6E4A1-BB53-4AF6-AACA-099A40B64D60}.Release|Any CPU.ActiveCfg = Release|Any CPU {27B6E4A1-BB53-4AF6-AACA-099A40B64D60}.Release|Any CPU.Build.0 = Release|Any CPU + {2F1D0A55-2722-48B4-87D1-0440E74D6E0A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2F1D0A55-2722-48B4-87D1-0440E74D6E0A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2F1D0A55-2722-48B4-87D1-0440E74D6E0A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2F1D0A55-2722-48B4-87D1-0440E74D6E0A}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/AutomobilePlant/AutomobilePlantContracts/AutomobilePlantContracts.csproj b/AutomobilePlant/AutomobilePlantContracts/AutomobilePlantContracts.csproj new file mode 100644 index 0000000..132c02c --- /dev/null +++ b/AutomobilePlant/AutomobilePlantContracts/AutomobilePlantContracts.csproj @@ -0,0 +1,9 @@ + + + + net6.0 + enable + enable + + + diff --git a/AutomobilePlant/AutomobilePlantContracts/BindingModels/CarBindingModel.cs b/AutomobilePlant/AutomobilePlantContracts/BindingModels/CarBindingModel.cs new file mode 100644 index 0000000..1c94c76 --- /dev/null +++ b/AutomobilePlant/AutomobilePlantContracts/BindingModels/CarBindingModel.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AutomobilePlantContracts.BindingModels +{ + internal class CarBindingModel + { + } +} diff --git a/AutomobilePlant/AutomobilePlantContracts/BindingModels/ComponentBindingModel.cs b/AutomobilePlant/AutomobilePlantContracts/BindingModels/ComponentBindingModel.cs new file mode 100644 index 0000000..1ebc60b --- /dev/null +++ b/AutomobilePlant/AutomobilePlantContracts/BindingModels/ComponentBindingModel.cs @@ -0,0 +1,17 @@ +using AutomobilePlantDataModels.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AutomobilePlantContracts.BindingModels +{ + public class ComponentBindingModel : IComponentModel + { + public int Id { get; set; } + public string ComponentName { get; set; } = string.Empty; + public double Cost { get; set; } + + } +} diff --git a/AutomobilePlant/AutomobilePlantContracts/BindingModels/OrderBindingModel.cs b/AutomobilePlant/AutomobilePlantContracts/BindingModels/OrderBindingModel.cs new file mode 100644 index 0000000..56150d0 --- /dev/null +++ b/AutomobilePlant/AutomobilePlantContracts/BindingModels/OrderBindingModel.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AutomobilePlantContracts.BindingModels +{ + internal class OrderBindingModel + { + } +} diff --git a/AutomobilePlant/AutomobilePlantContracts/BusinessLogicContracts/ICarLogic.cs b/AutomobilePlant/AutomobilePlantContracts/BusinessLogicContracts/ICarLogic.cs new file mode 100644 index 0000000..e7ea3c2 --- /dev/null +++ b/AutomobilePlant/AutomobilePlantContracts/BusinessLogicContracts/ICarLogic.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AutomobilePlantContracts.BusinessLogicContracts +{ + internal interface ICarLogic + { + } +} diff --git a/AutomobilePlant/AutomobilePlantContracts/BusinessLogicContracts/IComponentLogic.cs b/AutomobilePlant/AutomobilePlantContracts/BusinessLogicContracts/IComponentLogic.cs new file mode 100644 index 0000000..6691c48 --- /dev/null +++ b/AutomobilePlant/AutomobilePlantContracts/BusinessLogicContracts/IComponentLogic.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AutomobilePlantContracts.BusinessLogicContracts +{ + internal interface IComponentLogic + { + } +} diff --git a/AutomobilePlant/AutomobilePlantContracts/BusinessLogicContracts/IOrderLogic.cs b/AutomobilePlant/AutomobilePlantContracts/BusinessLogicContracts/IOrderLogic.cs new file mode 100644 index 0000000..8c616bd --- /dev/null +++ b/AutomobilePlant/AutomobilePlantContracts/BusinessLogicContracts/IOrderLogic.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AutomobilePlantContracts.BusinessLogicContracts +{ + internal interface IOrderLogic + { + } +} diff --git a/AutomobilePlant/AutomobilePlantContracts/SearchModels/CarSearchModel.cs b/AutomobilePlant/AutomobilePlantContracts/SearchModels/CarSearchModel.cs new file mode 100644 index 0000000..6478e9b --- /dev/null +++ b/AutomobilePlant/AutomobilePlantContracts/SearchModels/CarSearchModel.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AutomobilePlantContracts.SearchModels +{ + internal class CarSearchModel + { + } +} diff --git a/AutomobilePlant/AutomobilePlantContracts/SearchModels/ComponentSearchModel.cs b/AutomobilePlant/AutomobilePlantContracts/SearchModels/ComponentSearchModel.cs new file mode 100644 index 0000000..a80a44d --- /dev/null +++ b/AutomobilePlant/AutomobilePlantContracts/SearchModels/ComponentSearchModel.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AutomobilePlantContracts.SearchModels +{ + internal class ComponentSearchModel + { + } +} diff --git a/AutomobilePlant/AutomobilePlantContracts/SearchModels/OrderSearchModel.cs b/AutomobilePlant/AutomobilePlantContracts/SearchModels/OrderSearchModel.cs new file mode 100644 index 0000000..41bd536 --- /dev/null +++ b/AutomobilePlant/AutomobilePlantContracts/SearchModels/OrderSearchModel.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AutomobilePlantContracts.SearchModels +{ + internal class OrderSearchModel + { + } +} diff --git a/AutomobilePlant/AutomobilePlantContracts/StorageContracts/ICarStorage.cs b/AutomobilePlant/AutomobilePlantContracts/StorageContracts/ICarStorage.cs new file mode 100644 index 0000000..adf89e7 --- /dev/null +++ b/AutomobilePlant/AutomobilePlantContracts/StorageContracts/ICarStorage.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AutomobilePlantContracts.StorageContracts +{ + internal interface ICarStorage + { + } +} diff --git a/AutomobilePlant/AutomobilePlantContracts/StorageContracts/IComponentStorage.cs b/AutomobilePlant/AutomobilePlantContracts/StorageContracts/IComponentStorage.cs new file mode 100644 index 0000000..d0bf943 --- /dev/null +++ b/AutomobilePlant/AutomobilePlantContracts/StorageContracts/IComponentStorage.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AutomobilePlantContracts.StorageContracts +{ + internal interface IComponentStorage + { + } +} diff --git a/AutomobilePlant/AutomobilePlantContracts/StorageContracts/IOrderStorage.cs b/AutomobilePlant/AutomobilePlantContracts/StorageContracts/IOrderStorage.cs new file mode 100644 index 0000000..29de6c2 --- /dev/null +++ b/AutomobilePlant/AutomobilePlantContracts/StorageContracts/IOrderStorage.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AutomobilePlantContracts.StorageContracts +{ + internal interface IOrderStorage + { + } +} diff --git a/AutomobilePlant/AutomobilePlantContracts/ViewModels/CarViewModel.cs b/AutomobilePlant/AutomobilePlantContracts/ViewModels/CarViewModel.cs new file mode 100644 index 0000000..0238642 --- /dev/null +++ b/AutomobilePlant/AutomobilePlantContracts/ViewModels/CarViewModel.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AutomobilePlantContracts.ViewModels +{ + internal class CarViewModel + { + } +} diff --git a/AutomobilePlant/AutomobilePlantContracts/ViewModels/ComponentViewModel.cs b/AutomobilePlant/AutomobilePlantContracts/ViewModels/ComponentViewModel.cs new file mode 100644 index 0000000..80c1444 --- /dev/null +++ b/AutomobilePlant/AutomobilePlantContracts/ViewModels/ComponentViewModel.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AutomobilePlantContracts.ViewModels +{ + internal class ComponentViewModel + { + } +} diff --git a/AutomobilePlant/AutomobilePlantContracts/ViewModels/OrderViewModel.cs b/AutomobilePlant/AutomobilePlantContracts/ViewModels/OrderViewModel.cs new file mode 100644 index 0000000..d08e5d8 --- /dev/null +++ b/AutomobilePlant/AutomobilePlantContracts/ViewModels/OrderViewModel.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AutomobilePlantContracts.ViewModels +{ + internal class OrderViewModel + { + } +}