Rename dirs
This commit is contained in:
parent
dfc213a919
commit
8e281e2626
@ -1,9 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
|
||||||
<Nullable>enable</Nullable>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
@ -1,17 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
|
||||||
<Nullable>enable</Nullable>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.0" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\AbstractShopContracts\FoodOrdersContracts.csproj" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
@ -1,14 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
|
||||||
<Nullable>enable</Nullable>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\AbstractFoodOrdersDataModel\FoodOrdersDataModel.csproj" />
|
|
||||||
<ProjectReference Include="..\AbstractShopContracts\FoodOrdersContracts.csproj" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
@ -3,15 +3,15 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
|||||||
# Visual Studio Version 17
|
# Visual Studio Version 17
|
||||||
VisualStudioVersion = 17.3.32929.385
|
VisualStudioVersion = 17.3.32929.385
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FoodOrdersView", "AbstractFoodOrdersView\FoodOrdersView.csproj", "{831CD419-7329-4082-9B2F-9EA0EE2EA4AC}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FoodOrdersView", "FoodOrdersView\FoodOrdersView.csproj", "{831CD419-7329-4082-9B2F-9EA0EE2EA4AC}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FoodOrdersDataModel", "AbstractFoodOrdersDataModel\FoodOrdersDataModel.csproj", "{FC864A68-E5FF-4015-A4B3-85B7CDD584FE}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FoodOrdersDataModel", "FoodOrdersDataModel\FoodOrdersDataModel.csproj", "{FC864A68-E5FF-4015-A4B3-85B7CDD584FE}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FoodOrdersContracts", "AbstractShopContracts\FoodOrdersContracts.csproj", "{D189A77F-A5BF-4C88-A412-97D160F73062}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FoodOrdersContracts", "FoodOrdersContracts\FoodOrdersContracts.csproj", "{D189A77F-A5BF-4C88-A412-97D160F73062}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FoodOrdersListImplement", "AbstractShopListImplement\FoodOrdersListImplement.csproj", "{9F3DC091-FE2A-461A-92CE-8289205E6AAC}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FoodOrdersListImplement", "FoodOrdersListImplement\FoodOrdersListImplement.csproj", "{9F3DC091-FE2A-461A-92CE-8289205E6AAC}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FoodOrderBusinessLogic", "AbstractShopBusinessLogic\FoodOrderBusinessLogic.csproj", "{B3E18E56-A55D-47DC-8BFD-51689EE95375}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FoodOrderBusinessLogic", "FoodOrdersBusinessLogic\FoodOrderBusinessLogic.csproj", "{B3E18E56-A55D-47DC-8BFD-51689EE95375}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
@ -1,10 +1,10 @@
|
|||||||
using AbstractShopContracts.BindingModels;
|
using FoodOrdersContracts.BindingModels;
|
||||||
using AbstractShopContracts.BusinessLogicsContracts;
|
using FoodOrdersContracts.BusinessLogicsContracts;
|
||||||
using AbstractShopContracts.SearchModels;
|
using FoodOrdersContracts.SearchModels;
|
||||||
using AbstractShopContracts.StoragesContracts;
|
using FoodOrdersContracts.StoragesContracts;
|
||||||
using AbstractShopContracts.ViewModels;
|
using FoodOrdersContracts.ViewModels;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
namespace AbstractShopBusinessLogic.BusinessLogics
|
namespace FoodOrdersBusinessLogic.BusinessLogics
|
||||||
{
|
{
|
||||||
public class ComponentLogic : IComponentLogic
|
public class ComponentLogic : IComponentLogic
|
||||||
{
|
{
|
@ -1,8 +1,8 @@
|
|||||||
using AbstractShopContracts.BindingModels;
|
using FoodOrdersContracts.BindingModels;
|
||||||
using AbstractShopContracts.BusinessLogicsContracts;
|
using FoodOrdersContracts.BusinessLogicsContracts;
|
||||||
using AbstractShopContracts.SearchModels;
|
using FoodOrdersContracts.SearchModels;
|
||||||
using AbstractShopContracts.StoragesContracts;
|
using FoodOrdersContracts.StoragesContracts;
|
||||||
using AbstractShopContracts.ViewModels;
|
using FoodOrdersContracts.ViewModels;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@ -10,7 +10,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractShopBusinessLogic.BusinessLogic
|
namespace FoodOrdersBusinessLogic.BusinessLogic
|
||||||
{
|
{
|
||||||
public class FoodLogic : IFoodLogic
|
public class FoodLogic : IFoodLogic
|
||||||
{
|
{
|
@ -1,9 +1,9 @@
|
|||||||
using AbstractFoodOrdersDataModel.Enums;
|
using FoodOrdersDataModel.Enums;
|
||||||
using AbstractShopContracts.BindingModels;
|
using FoodOrdersContracts.BindingModels;
|
||||||
using AbstractShopContracts.BusinessLogicsContracts;
|
using FoodOrdersContracts.BusinessLogicsContracts;
|
||||||
using AbstractShopContracts.SearchModels;
|
using FoodOrdersContracts.SearchModels;
|
||||||
using AbstractShopContracts.StoragesContracts;
|
using FoodOrdersContracts.StoragesContracts;
|
||||||
using AbstractShopContracts.ViewModels;
|
using FoodOrdersContracts.ViewModels;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
@ -0,0 +1,18 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="7.0.0" />
|
||||||
|
<PackageReference Include="NLog.Extensions.Logging" Version="5.2.2" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\FoodOrdersContracts\FoodOrdersContracts.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
@ -1,4 +1,4 @@
|
|||||||
using AbstractFoodOrdersDataModel.Models;
|
using FoodOrdersDataModel.Models;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
@ -6,7 +6,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractShopContracts.BindingModels
|
namespace FoodOrdersContracts.BindingModels
|
||||||
{
|
{
|
||||||
public class ComponentBindingModel : IComponentModel
|
public class ComponentBindingModel : IComponentModel
|
||||||
{
|
{
|
@ -1,11 +1,11 @@
|
|||||||
using AbstractFoodOrdersDataModel.Models;
|
using FoodOrdersDataModel.Models;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractShopContracts.BindingModels
|
namespace FoodOrdersContracts.BindingModels
|
||||||
{
|
{
|
||||||
public class FoodBindingModel : IFoodModel
|
public class FoodBindingModel : IFoodModel
|
||||||
{
|
{
|
@ -1,12 +1,12 @@
|
|||||||
using AbstractFoodOrdersDataModel.Enums;
|
using FoodOrdersDataModel.Enums;
|
||||||
using AbstractFoodOrdersDataModel.Models;
|
using FoodOrdersDataModel.Models;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractShopContracts.BindingModels
|
namespace FoodOrdersContracts.BindingModels
|
||||||
{
|
{
|
||||||
public class OrderBindingModel : IOrderModel
|
public class OrderBindingModel : IOrderModel
|
||||||
{
|
{
|
@ -1,13 +1,13 @@
|
|||||||
using AbstractShopContracts.BindingModels;
|
using FoodOrdersContracts.BindingModels;
|
||||||
using AbstractShopContracts.SearchModels;
|
using FoodOrdersContracts.SearchModels;
|
||||||
using AbstractShopContracts.ViewModels;
|
using FoodOrdersContracts.ViewModels;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractShopContracts.BusinessLogicsContracts
|
namespace FoodOrdersContracts.BusinessLogicsContracts
|
||||||
{
|
{
|
||||||
public interface IComponentLogic
|
public interface IComponentLogic
|
||||||
{
|
{
|
@ -1,8 +1,8 @@
|
|||||||
using AbstractShopContracts.BindingModels;
|
using FoodOrdersContracts.BindingModels;
|
||||||
using AbstractShopContracts.SearchModels;
|
using FoodOrdersContracts.SearchModels;
|
||||||
using AbstractShopContracts.ViewModels;
|
using FoodOrdersContracts.ViewModels;
|
||||||
|
|
||||||
namespace AbstractShopContracts.BusinessLogicsContracts
|
namespace FoodOrdersContracts.BusinessLogicsContracts
|
||||||
{
|
{
|
||||||
public interface IFoodLogic
|
public interface IFoodLogic
|
||||||
{
|
{
|
@ -1,8 +1,8 @@
|
|||||||
using AbstractShopContracts.BindingModels;
|
using FoodOrdersContracts.BindingModels;
|
||||||
using AbstractShopContracts.SearchModels;
|
using FoodOrdersContracts.SearchModels;
|
||||||
using AbstractShopContracts.ViewModels;
|
using FoodOrdersContracts.ViewModels;
|
||||||
|
|
||||||
namespace AbstractShopContracts.BusinessLogicsContracts
|
namespace FoodOrdersContracts.BusinessLogicsContracts
|
||||||
{
|
{
|
||||||
public interface IOrderLogic
|
public interface IOrderLogic
|
||||||
{
|
{
|
18
FoodOrders/FoodOrdersContracts/FoodOrdersContracts.csproj
Normal file
18
FoodOrders/FoodOrdersContracts/FoodOrdersContracts.csproj
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="7.0.0" />
|
||||||
|
<PackageReference Include="NLog.Extensions.Logging" Version="5.2.2" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\FoodOrdersDataModel\FoodOrdersDataModel.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractShopContracts.SearchModels
|
namespace FoodOrdersContracts.SearchModels
|
||||||
{
|
{
|
||||||
public class ComponentSearchModel
|
public class ComponentSearchModel
|
||||||
{
|
{
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractShopContracts.SearchModels
|
namespace FoodOrdersContracts.SearchModels
|
||||||
{
|
{
|
||||||
public class FoodSearchModel
|
public class FoodSearchModel
|
||||||
{
|
{
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractShopContracts.SearchModels
|
namespace FoodOrdersContracts.SearchModels
|
||||||
{
|
{
|
||||||
public class OrderSearchModel
|
public class OrderSearchModel
|
||||||
{
|
{
|
@ -1,8 +1,8 @@
|
|||||||
using AbstractShopContracts.BindingModels;
|
using FoodOrdersContracts.BindingModels;
|
||||||
using AbstractShopContracts.SearchModels;
|
using FoodOrdersContracts.SearchModels;
|
||||||
using AbstractShopContracts.ViewModels;
|
using FoodOrdersContracts.ViewModels;
|
||||||
|
|
||||||
namespace AbstractShopContracts.StoragesContracts
|
namespace FoodOrdersContracts.StoragesContracts
|
||||||
{
|
{
|
||||||
public interface IComponentStorage
|
public interface IComponentStorage
|
||||||
{
|
{
|
@ -1,13 +1,13 @@
|
|||||||
using AbstractShopContracts.BindingModels;
|
using FoodOrdersContracts.BindingModels;
|
||||||
using AbstractShopContracts.SearchModels;
|
using FoodOrdersContracts.SearchModels;
|
||||||
using AbstractShopContracts.ViewModels;
|
using FoodOrdersContracts.ViewModels;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractShopContracts.StoragesContracts
|
namespace FoodOrdersContracts.StoragesContracts
|
||||||
{
|
{
|
||||||
public interface IFoodStorage
|
public interface IFoodStorage
|
||||||
{
|
{
|
@ -1,13 +1,13 @@
|
|||||||
using AbstractShopContracts.BindingModels;
|
using FoodOrdersContracts.BindingModels;
|
||||||
using AbstractShopContracts.SearchModels;
|
using FoodOrdersContracts.SearchModels;
|
||||||
using AbstractShopContracts.ViewModels;
|
using FoodOrdersContracts.ViewModels;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractShopContracts.StoragesContracts
|
namespace FoodOrdersContracts.StoragesContracts
|
||||||
{
|
{
|
||||||
public interface IOrderStorage
|
public interface IOrderStorage
|
||||||
{
|
{
|
@ -1,4 +1,4 @@
|
|||||||
using AbstractFoodOrdersDataModel.Models;
|
using FoodOrdersDataModel.Models;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
@ -6,7 +6,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractShopContracts.ViewModels
|
namespace FoodOrdersContracts.ViewModels
|
||||||
{
|
{
|
||||||
public class ComponentViewModel : IComponentModel
|
public class ComponentViewModel : IComponentModel
|
||||||
{
|
{
|
@ -1,4 +1,4 @@
|
|||||||
using AbstractFoodOrdersDataModel.Models;
|
using FoodOrdersDataModel.Models;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
@ -6,7 +6,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractShopContracts.ViewModels
|
namespace FoodOrdersContracts.ViewModels
|
||||||
{
|
{
|
||||||
public class FoodViewModel : IFoodModel
|
public class FoodViewModel : IFoodModel
|
||||||
{
|
{
|
@ -1,5 +1,5 @@
|
|||||||
using AbstractFoodOrdersDataModel.Enums;
|
using FoodOrdersDataModel.Enums;
|
||||||
using AbstractFoodOrdersDataModel.Models;
|
using FoodOrdersDataModel.Models;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
@ -7,7 +7,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractShopContracts.ViewModels
|
namespace FoodOrdersContracts.ViewModels
|
||||||
{
|
{
|
||||||
public class OrderViewModel : IOrderModel
|
public class OrderViewModel : IOrderModel
|
||||||
{
|
{
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractFoodOrdersDataModel.Enums
|
namespace FoodOrdersDataModel.Enums
|
||||||
{
|
{
|
||||||
public enum OrderStatus
|
public enum OrderStatus
|
||||||
{
|
{
|
@ -7,7 +7,8 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\AbstractFoodOrdersDataModel\FoodOrdersDataModel.csproj" />
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="7.0.0" />
|
||||||
|
<PackageReference Include="NLog.Extensions.Logging" Version="5.2.2" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractFoodOrdersDataModel
|
namespace FoodOrdersDataModel
|
||||||
{
|
{
|
||||||
public interface IId
|
public interface IId
|
||||||
{
|
{
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractFoodOrdersDataModel.Models
|
namespace FoodOrdersDataModel.Models
|
||||||
{
|
{
|
||||||
public interface IComponentModel : IId
|
public interface IComponentModel : IId
|
||||||
{
|
{
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractFoodOrdersDataModel.Models
|
namespace FoodOrdersDataModel.Models
|
||||||
{
|
{
|
||||||
public interface IFoodModel : IId
|
public interface IFoodModel : IId
|
||||||
{
|
{
|
@ -1,11 +1,11 @@
|
|||||||
using AbstractFoodOrdersDataModel.Enums;
|
using FoodOrdersDataModel.Enums;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractFoodOrdersDataModel.Models
|
namespace FoodOrdersDataModel.Models
|
||||||
{
|
{
|
||||||
public interface IOrderModel : IId
|
public interface IOrderModel : IId
|
||||||
{
|
{
|
@ -1,11 +1,11 @@
|
|||||||
using AbstractShopListImplement.Models;
|
using FoodOrdersListImplement.Models;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractShopListImplement
|
namespace FoodOrdersListImplement
|
||||||
{
|
{
|
||||||
internal class DataListSingleton
|
internal class DataListSingleton
|
||||||
{
|
{
|
@ -0,0 +1,19 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="7.0.0" />
|
||||||
|
<PackageReference Include="NLog.Extensions.Logging" Version="5.2.2" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\FoodOrdersDataModel\FoodOrdersDataModel.csproj" />
|
||||||
|
<ProjectReference Include="..\FoodOrdersContracts\FoodOrdersContracts.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
@ -1,15 +1,15 @@
|
|||||||
using AbstractShopContracts.BindingModels;
|
using FoodOrdersContracts.BindingModels;
|
||||||
using AbstractShopContracts.SearchModels;
|
using FoodOrdersContracts.SearchModels;
|
||||||
using AbstractShopContracts.StoragesContracts;
|
using FoodOrdersContracts.StoragesContracts;
|
||||||
using AbstractShopContracts.ViewModels;
|
using FoodOrdersContracts.ViewModels;
|
||||||
using AbstractShopListImplement.Models;
|
using FoodOrdersListImplement.Models;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractShopListImplement.Implements
|
namespace FoodOrdersListImplement.Implements
|
||||||
{
|
{
|
||||||
public class ComponentStorage : IComponentStorage
|
public class ComponentStorage : IComponentStorage
|
||||||
{
|
{
|
@ -1,15 +1,15 @@
|
|||||||
using AbstractShopContracts.BindingModels;
|
using FoodOrdersContracts.BindingModels;
|
||||||
using AbstractShopContracts.SearchModels;
|
using FoodOrdersContracts.SearchModels;
|
||||||
using AbstractShopContracts.StoragesContracts;
|
using FoodOrdersContracts.StoragesContracts;
|
||||||
using AbstractShopContracts.ViewModels;
|
using FoodOrdersContracts.ViewModels;
|
||||||
using AbstractShopListImplement.Models;
|
using FoodOrdersListImplement.Models;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractShopListImplement.Implements
|
namespace FoodOrdersListImplement.Implements
|
||||||
{
|
{
|
||||||
public class FoodStorage : IFoodStorage
|
public class FoodStorage : IFoodStorage
|
||||||
{
|
{
|
@ -1,15 +1,15 @@
|
|||||||
using AbstractShopContracts.BindingModels;
|
using FoodOrdersContracts.BindingModels;
|
||||||
using AbstractShopContracts.SearchModels;
|
using FoodOrdersContracts.SearchModels;
|
||||||
using AbstractShopContracts.StoragesContracts;
|
using FoodOrdersContracts.StoragesContracts;
|
||||||
using AbstractShopContracts.ViewModels;
|
using FoodOrdersContracts.ViewModels;
|
||||||
using AbstractShopListImplement.Models;
|
using FoodOrdersListImplement.Models;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractShopListImplement.Implements
|
namespace FoodOrdersListImplement.Implements
|
||||||
{
|
{
|
||||||
public class OrderStorage : IOrderStorage
|
public class OrderStorage : IOrderStorage
|
||||||
{
|
{
|
@ -1,13 +1,13 @@
|
|||||||
using AbstractFoodOrdersDataModel.Models;
|
using FoodOrdersDataModel.Models;
|
||||||
using AbstractShopContracts.BindingModels;
|
using FoodOrdersContracts.BindingModels;
|
||||||
using AbstractShopContracts.ViewModels;
|
using FoodOrdersContracts.ViewModels;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractShopListImplement.Models
|
namespace FoodOrdersListImplement.Models
|
||||||
{
|
{
|
||||||
internal class Component : IComponentModel
|
internal class Component : IComponentModel
|
||||||
{
|
{
|
@ -1,13 +1,13 @@
|
|||||||
using AbstractFoodOrdersDataModel.Models;
|
using FoodOrdersDataModel.Models;
|
||||||
using AbstractShopContracts.BindingModels;
|
using FoodOrdersContracts.BindingModels;
|
||||||
using AbstractShopContracts.ViewModels;
|
using FoodOrdersContracts.ViewModels;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractShopListImplement.Models
|
namespace FoodOrdersListImplement.Models
|
||||||
{
|
{
|
||||||
public class Food : IFoodModel
|
public class Food : IFoodModel
|
||||||
{
|
{
|
@ -1,14 +1,14 @@
|
|||||||
using AbstractFoodOrdersDataModel.Enums;
|
using FoodOrdersDataModel.Enums;
|
||||||
using AbstractFoodOrdersDataModel.Models;
|
using FoodOrdersDataModel.Models;
|
||||||
using AbstractShopContracts.BindingModels;
|
using FoodOrdersContracts.BindingModels;
|
||||||
using AbstractShopContracts.ViewModels;
|
using FoodOrdersContracts.ViewModels;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace AbstractShopListImplement.Models
|
namespace FoodOrdersListImplement.Models
|
||||||
{
|
{
|
||||||
internal class Order : IOrderModel
|
internal class Order : IOrderModel
|
||||||
{
|
{
|
@ -10,15 +10,13 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration" Version="7.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="7.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
|
|
||||||
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.0" />
|
|
||||||
<PackageReference Include="NLog.Extensions.Logging" Version="5.2.2" />
|
<PackageReference Include="NLog.Extensions.Logging" Version="5.2.2" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\AbstractShopBusinessLogic\FoodOrderBusinessLogic.csproj" />
|
<ProjectReference Include="..\FoodOrdersBusinessLogic\FoodOrderBusinessLogic.csproj" />
|
||||||
<ProjectReference Include="..\AbstractShopContracts\FoodOrdersContracts.csproj" />
|
<ProjectReference Include="..\FoodOrdersContracts\FoodOrdersContracts.csproj" />
|
||||||
<ProjectReference Include="..\AbstractShopListImplement\FoodOrdersListImplement.csproj" />
|
<ProjectReference Include="..\FoodOrdersListImplement\FoodOrdersListImplement.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
@ -1,6 +1,6 @@
|
|||||||
using AbstractShopContracts.BindingModels;
|
using FoodOrdersContracts.BindingModels;
|
||||||
using AbstractShopContracts.BusinessLogicsContracts;
|
using FoodOrdersContracts.BusinessLogicsContracts;
|
||||||
using AbstractShopContracts.SearchModels;
|
using FoodOrdersContracts.SearchModels;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
@ -1,4 +1,4 @@
|
|||||||
namespace AbstractShopView
|
namespace FoodOrdersView
|
||||||
{
|
{
|
||||||
partial class FormComponents
|
partial class FormComponents
|
||||||
{
|
{
|
@ -7,13 +7,13 @@ using System.Linq;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using AbstractFoodOrdersView;
|
using FoodOrdersView;
|
||||||
using AbstractShopContracts.BindingModels;
|
using FoodOrdersContracts.BindingModels;
|
||||||
using AbstractShopContracts.BusinessLogicsContracts;
|
using FoodOrdersContracts.BusinessLogicsContracts;
|
||||||
using FoodOrdersView;
|
using FoodOrdersView;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
namespace AbstractShopView
|
namespace FoodOrdersView
|
||||||
{
|
{
|
||||||
public partial class FormComponents : Form
|
public partial class FormComponents : Form
|
||||||
{
|
{
|
@ -1,6 +1,6 @@
|
|||||||
using AbstractShopContracts.BindingModels;
|
using FoodOrdersContracts.BindingModels;
|
||||||
using AbstractShopContracts.BusinessLogicsContracts;
|
using FoodOrdersContracts.BusinessLogicsContracts;
|
||||||
using AbstractShopContracts.SearchModels;
|
using FoodOrdersContracts.SearchModels;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
@ -1,8 +1,8 @@
|
|||||||
using AbstractFoodOrdersDataModel.Models;
|
using FoodOrdersDataModel.Models;
|
||||||
using AbstractFoodOrdersView;
|
using FoodOrdersView;
|
||||||
using AbstractShopContracts.BindingModels;
|
using FoodOrdersContracts.BindingModels;
|
||||||
using AbstractShopContracts.BusinessLogicsContracts;
|
using FoodOrdersContracts.BusinessLogicsContracts;
|
||||||
using AbstractShopContracts.SearchModels;
|
using FoodOrdersContracts.SearchModels;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
@ -1,6 +1,6 @@
|
|||||||
using AbstractFoodOrdersDataModel.Models;
|
using FoodOrdersDataModel.Models;
|
||||||
using AbstractShopContracts.BusinessLogicsContracts;
|
using FoodOrdersContracts.BusinessLogicsContracts;
|
||||||
using AbstractShopContracts.ViewModels;
|
using FoodOrdersContracts.ViewModels;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
@ -1,6 +1,6 @@
|
|||||||
using AbstractFoodOrdersView;
|
using FoodOrdersView;
|
||||||
using AbstractShopContracts.BindingModels;
|
using FoodOrdersContracts.BindingModels;
|
||||||
using AbstractShopContracts.BusinessLogicsContracts;
|
using FoodOrdersContracts.BusinessLogicsContracts;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
@ -1,8 +1,8 @@
|
|||||||
using AbstractFoodOrdersDataModel.Enums;
|
using FoodOrdersDataModel.Enums;
|
||||||
using AbstractFoodOrdersView;
|
using FoodOrdersView;
|
||||||
using AbstractShopContracts.BindingModels;
|
using FoodOrdersContracts.BindingModels;
|
||||||
using AbstractShopContracts.BusinessLogicsContracts;
|
using FoodOrdersContracts.BusinessLogicsContracts;
|
||||||
using AbstractShopView;
|
using FoodOrdersView;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
@ -1,16 +1,16 @@
|
|||||||
using AbstractShopBusinessLogic.BusinessLogic;
|
using FoodOrdersBusinessLogic.BusinessLogic;
|
||||||
using AbstractShopBusinessLogic.BusinessLogics;
|
using FoodOrdersBusinessLogic.BusinessLogics;
|
||||||
using AbstractShopContracts.BusinessLogicsContracts;
|
using FoodOrdersContracts.BusinessLogicsContracts;
|
||||||
using AbstractShopContracts.StoragesContracts;
|
using FoodOrdersContracts.StoragesContracts;
|
||||||
using AbstractShopListImplement.Implements;
|
using FoodOrdersListImplement.Implements;
|
||||||
using AbstractShopView;
|
using FoodOrdersView;
|
||||||
using FoodOrdersView;
|
using FoodOrdersView;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using NLog.Extensions.Logging;
|
using NLog.Extensions.Logging;
|
||||||
using PlumbingRepairBusinessLogic.BusinessLogic;
|
using PlumbingRepairBusinessLogic.BusinessLogic;
|
||||||
|
|
||||||
namespace AbstractFoodOrdersView
|
namespace FoodOrdersView
|
||||||
{
|
{
|
||||||
internal static class Program
|
internal static class Program
|
||||||
{
|
{
|
Loading…
Reference in New Issue
Block a user