From a927f92a1c4d4daeddce314f79b160f4ec53b646 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0=D0=B9?= Date: Sat, 1 Apr 2023 13:12:37 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=BD=D0=B0=D0=B7=D0=B2=D0=B0=D0=BD=D0=B8=D0=B9?= =?UTF-8?q?=20=D0=B8=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=B8=D0=BD=D1=82=D0=B5=D1=80=D1=84=D0=B5=D0=B9?= =?UTF-8?q?=D1=81=D0=B0=20=D1=85=D1=80=D0=B0=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BindingModels/BuildBindingModel.cs | 6 +++--- .../BindingModels/ClientBindingModel.cs | 4 ++-- .../BindingModels/CommentBindingModel.cs | 6 +++--- .../BindingModels/ComponentBindingModel.cs | 4 ++-- .../BindingModels/GoodBindingModel.cs | 4 ++-- .../BindingModels/OrderBindingModel.cs | 8 +++---- .../BindingModels/PurchaseBindingModel.cs | 8 +++---- .../SearchModels/BuildSearchModel.cs | 6 ++---- .../SearchModels/ClientSearchModel.cs | 7 +++---- .../SearchModels/CommentSearchModel.cs | 5 ++--- .../SearchModels/ComponentSearchModel.cs | 4 ++-- .../SearchModels/GoodSearchModel.cs | 7 +++---- .../SearchModels/OrderSearchModel.cs | 6 ++---- .../SearchModels/PurchaseSearchModel.cs | 8 +++---- .../StoragesContracts/IBuildStorage.cs | 16 ++++++++++++++ .../StoragesContracts/ICommentStorage.cs | 21 +++++++++++++++++++ .../StoragesContracts/IPurchaseStorage.cs | 16 ++++++++++++++ .../ViewModels/BuildViewModel.cs | 7 +++---- .../ViewModels/ClientViewModel.cs | 6 +++--- .../ViewModels/CommentViewModel.cs | 7 +++---- .../ViewModels/ComponentViewModel.cs | 4 ++-- .../ViewModels/GoodViewModel.cs | 6 +++--- .../ViewModels/OrderViewModel.cs | 7 +++---- .../ViewModels/PurchaseViewModel.cs | 7 +++---- .../Enums/PurchaseStatus.cs | 2 +- .../Models/IBuildModel.cs | 2 +- .../Models/IClientModel.cs | 2 +- .../Models/IPurchaseModel.cs | 2 +- 28 files changed, 114 insertions(+), 74 deletions(-) create mode 100644 HardwareShop/HardwareShopContracts/StoragesContracts/IBuildStorage.cs create mode 100644 HardwareShop/HardwareShopContracts/StoragesContracts/ICommentStorage.cs create mode 100644 HardwareShop/HardwareShopContracts/StoragesContracts/IPurchaseStorage.cs diff --git a/HardwareShop/HardwareShopContracts/BindingModels/BuildBindingModel.cs b/HardwareShop/HardwareShopContracts/BindingModels/BuildBindingModel.cs index 38f55a2..4ce382d 100644 --- a/HardwareShop/HardwareShopContracts/BindingModels/BuildBindingModel.cs +++ b/HardwareShop/HardwareShopContracts/BindingModels/BuildBindingModel.cs @@ -1,9 +1,9 @@ -using FoodOrdersDataModels.Models; +using HardwareShopDataModels.Models; using HardwareShopDataModels.Models; using System.ComponentModel; -namespace FoodOrdersContracts.BindingModels +namespace HardwareShopContracts.BindingModels { - public class BuildSearchModel : IBuildModel + public class BuildBindingModel : IBuildModel { public int Id { get; set; } diff --git a/HardwareShop/HardwareShopContracts/BindingModels/ClientBindingModel.cs b/HardwareShop/HardwareShopContracts/BindingModels/ClientBindingModel.cs index 7460fa9..9242254 100644 --- a/HardwareShop/HardwareShopContracts/BindingModels/ClientBindingModel.cs +++ b/HardwareShop/HardwareShopContracts/BindingModels/ClientBindingModel.cs @@ -1,8 +1,8 @@ -using FoodOrdersDataModels.Models; +using HardwareShopDataModels.Models; using HardwareShopDataModels.Enums; using System.ComponentModel; -namespace FoodOrdersContracts.BindingModels +namespace HardwareShopContracts.BindingModels { public class ClientBindingModel : IClientModel { diff --git a/HardwareShop/HardwareShopContracts/BindingModels/CommentBindingModel.cs b/HardwareShop/HardwareShopContracts/BindingModels/CommentBindingModel.cs index 4ef1db3..69371b1 100644 --- a/HardwareShop/HardwareShopContracts/BindingModels/CommentBindingModel.cs +++ b/HardwareShop/HardwareShopContracts/BindingModels/CommentBindingModel.cs @@ -1,10 +1,10 @@ -using FoodOrdersDataModels.Models; +using HardwareShopDataModels.Models; using HardwareShopDataModels.Models; using System.ComponentModel; -namespace FoodOrdersContracts.BindingModels +namespace HardwareShopContracts.BindingModels { - public class CommentSearchModel : ICommentModel + public class CommentBindingModel : ICommentModel { public int Id { get; set; } diff --git a/HardwareShop/HardwareShopContracts/BindingModels/ComponentBindingModel.cs b/HardwareShop/HardwareShopContracts/BindingModels/ComponentBindingModel.cs index dc57fee..0f9cd80 100644 --- a/HardwareShop/HardwareShopContracts/BindingModels/ComponentBindingModel.cs +++ b/HardwareShop/HardwareShopContracts/BindingModels/ComponentBindingModel.cs @@ -5,9 +5,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace FoodOrdersContracts.BindingModels +namespace HardwareShopContracts.BindingModels { - public class ComponentSearchModel : IComponentModel + public class ComponentBindingModel : IComponentModel { public int Id { get; set; } } diff --git a/HardwareShop/HardwareShopContracts/BindingModels/GoodBindingModel.cs b/HardwareShop/HardwareShopContracts/BindingModels/GoodBindingModel.cs index 66f4f6f..3adf80a 100644 --- a/HardwareShop/HardwareShopContracts/BindingModels/GoodBindingModel.cs +++ b/HardwareShop/HardwareShopContracts/BindingModels/GoodBindingModel.cs @@ -1,4 +1,4 @@ -using FoodOrdersDataModels.Enums; +using HardwareShopDataModels.Enums; using HardwareShopDataModels.Models; using System; using System.Collections.Generic; @@ -6,7 +6,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace FoodOrdersContracts.BindingModels +namespace HardwareShopContracts.BindingModels { public class GoodBindingModel : IGoodModel { diff --git a/HardwareShop/HardwareShopContracts/BindingModels/OrderBindingModel.cs b/HardwareShop/HardwareShopContracts/BindingModels/OrderBindingModel.cs index e79da5c..f75b3ca 100644 --- a/HardwareShop/HardwareShopContracts/BindingModels/OrderBindingModel.cs +++ b/HardwareShop/HardwareShopContracts/BindingModels/OrderBindingModel.cs @@ -1,10 +1,10 @@ -using FoodOrdersDataModels.Enums; -using FoodOrdersDataModels.Models; +using HardwareShopDataModels.Enums; +using HardwareShopDataModels.Models; using HardwareShopDataModels.Models; using System.ComponentModel; -namespace FoodOrdersContracts.BindingModels +namespace HardwareShopContracts.BindingModels { - public class OrderSearchModel : IOrderModel + public class OrderBindingModel : IOrderModel { public int Id { get; set; } } diff --git a/HardwareShop/HardwareShopContracts/BindingModels/PurchaseBindingModel.cs b/HardwareShop/HardwareShopContracts/BindingModels/PurchaseBindingModel.cs index d7fe33c..d116ee6 100644 --- a/HardwareShop/HardwareShopContracts/BindingModels/PurchaseBindingModel.cs +++ b/HardwareShop/HardwareShopContracts/BindingModels/PurchaseBindingModel.cs @@ -1,10 +1,10 @@ -using FoodOrdersDataModels.Enums; -using FoodOrdersDataModels.Models; +using HardwareShopDataModels.Enums; +using HardwareShopDataModels.Models; using HardwareShopDataModels.Models; using System.ComponentModel; -namespace FoodOrdersContracts.BindingModels +namespace HardwareShopContracts.BindingModels { - public class PurachaseViewModel : IPurchaseModel + public class PurchaseBindingModel : IPurchaseModel { public int Id { get; set; } diff --git a/HardwareShop/HardwareShopContracts/SearchModels/BuildSearchModel.cs b/HardwareShop/HardwareShopContracts/SearchModels/BuildSearchModel.cs index 1178f0c..be06933 100644 --- a/HardwareShop/HardwareShopContracts/SearchModels/BuildSearchModel.cs +++ b/HardwareShop/HardwareShopContracts/SearchModels/BuildSearchModel.cs @@ -1,7 +1,5 @@ -using FoodOrdersDataModels.Models; -using HardwareShopDataModels.Models; -using System.ComponentModel; -namespace FoodOrdersContracts.SearchModels +using System.ComponentModel; +namespace HardwareShopContracts.SearchModels { public class BuildSearchModel { diff --git a/HardwareShop/HardwareShopContracts/SearchModels/ClientSearchModel.cs b/HardwareShop/HardwareShopContracts/SearchModels/ClientSearchModel.cs index 0170492..6893b14 100644 --- a/HardwareShop/HardwareShopContracts/SearchModels/ClientSearchModel.cs +++ b/HardwareShop/HardwareShopContracts/SearchModels/ClientSearchModel.cs @@ -1,10 +1,9 @@ -using FoodOrdersDataModels.Models; -using HardwareShopDataModels.Enums; + using System.ComponentModel; -namespace FoodOrdersContracts.SearchModels +namespace HardwareShopContracts.SearchModels { - public class ClientViewModel + public class ClientSearchModel { public int? Id { get; set; } diff --git a/HardwareShop/HardwareShopContracts/SearchModels/CommentSearchModel.cs b/HardwareShop/HardwareShopContracts/SearchModels/CommentSearchModel.cs index 7ad2d93..78c5893 100644 --- a/HardwareShop/HardwareShopContracts/SearchModels/CommentSearchModel.cs +++ b/HardwareShop/HardwareShopContracts/SearchModels/CommentSearchModel.cs @@ -1,8 +1,7 @@ -using FoodOrdersDataModels.Models; -using HardwareShopDataModels.Models; + using System.ComponentModel; -namespace FoodOrdersContracts.SearchModels +namespace HardwareShopContracts.SearchModels { public class CommentSearchModel { diff --git a/HardwareShop/HardwareShopContracts/SearchModels/ComponentSearchModel.cs b/HardwareShop/HardwareShopContracts/SearchModels/ComponentSearchModel.cs index f038692..bf726a8 100644 --- a/HardwareShop/HardwareShopContracts/SearchModels/ComponentSearchModel.cs +++ b/HardwareShop/HardwareShopContracts/SearchModels/ComponentSearchModel.cs @@ -1,11 +1,11 @@ -using HardwareShopDataModels.Models; + using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; -namespace FoodOrdersContracts.SearchModels +namespace HardwareShopContracts.SearchModels { public class ComponentSearchModel { diff --git a/HardwareShop/HardwareShopContracts/SearchModels/GoodSearchModel.cs b/HardwareShop/HardwareShopContracts/SearchModels/GoodSearchModel.cs index 8c7d620..a2fc944 100644 --- a/HardwareShop/HardwareShopContracts/SearchModels/GoodSearchModel.cs +++ b/HardwareShop/HardwareShopContracts/SearchModels/GoodSearchModel.cs @@ -1,14 +1,13 @@ -using FoodOrdersDataModels.Enums; -using HardwareShopDataModels.Models; + using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; -namespace FoodOrdersContracts.SearchModels +namespace HardwareShopContracts.SearchModels { - public class GoodViewModel + public class GoodSearchModel { public int? Id { get; set; } } diff --git a/HardwareShop/HardwareShopContracts/SearchModels/OrderSearchModel.cs b/HardwareShop/HardwareShopContracts/SearchModels/OrderSearchModel.cs index b651b13..ef4f856 100644 --- a/HardwareShop/HardwareShopContracts/SearchModels/OrderSearchModel.cs +++ b/HardwareShop/HardwareShopContracts/SearchModels/OrderSearchModel.cs @@ -1,8 +1,6 @@ -using FoodOrdersDataModels.Enums; -using FoodOrdersDataModels.Models; -using HardwareShopDataModels.Models; + using System.ComponentModel; -namespace FoodOrdersContracts.SearchModels +namespace HardwareShopContracts.SearchModels { public class OrderSearchModel { diff --git a/HardwareShop/HardwareShopContracts/SearchModels/PurchaseSearchModel.cs b/HardwareShop/HardwareShopContracts/SearchModels/PurchaseSearchModel.cs index 9fd02d1..097858e 100644 --- a/HardwareShop/HardwareShopContracts/SearchModels/PurchaseSearchModel.cs +++ b/HardwareShop/HardwareShopContracts/SearchModels/PurchaseSearchModel.cs @@ -1,10 +1,8 @@ -using FoodOrdersDataModels.Enums; -using FoodOrdersDataModels.Models; -using HardwareShopDataModels.Models; + using System.ComponentModel; -namespace FoodOrdersContracts.SearchModels +namespace HardwareShopContracts.SearchModels { - public class PurachaseViewModel + public class PurchaseSearchModel { public int? Id { get; set; } } diff --git a/HardwareShop/HardwareShopContracts/StoragesContracts/IBuildStorage.cs b/HardwareShop/HardwareShopContracts/StoragesContracts/IBuildStorage.cs new file mode 100644 index 0000000..8771e49 --- /dev/null +++ b/HardwareShop/HardwareShopContracts/StoragesContracts/IBuildStorage.cs @@ -0,0 +1,16 @@ +using HardwareShopContracts.BindingModels; +using HardwareShopContracts.SearchModels; +using HardwareShopContracts.ViewModels; + +namespace HardwareShopContracts.StoragesContracts +{ + public interface IBuildStorage + { + List GetFullList(); + List GetFilteredList(BuildSearchModel model); + BuildViewModel? GetElement(BuildSearchModel model); + BuildViewModel? Insert(BuildBindingModel model); + BuildViewModel? Update(BuildBindingModel model); + BuildViewModel? Delete(BuildBindingModel model); + } +} \ No newline at end of file diff --git a/HardwareShop/HardwareShopContracts/StoragesContracts/ICommentStorage.cs b/HardwareShop/HardwareShopContracts/StoragesContracts/ICommentStorage.cs new file mode 100644 index 0000000..66ffe52 --- /dev/null +++ b/HardwareShop/HardwareShopContracts/StoragesContracts/ICommentStorage.cs @@ -0,0 +1,21 @@ +using HardwareShopContracts.BindingModels; +using HardwareShopContracts.SearchModels; +using HardwareShopContracts.ViewModels; + +namespace HardwareShopContracts.StoragesContracts +{ + public interface ICommentStorage + { + List GetFullList(); + + List GetFilteredList(CommentSearchModel model); + + CommentViewModel? GetElement(CommentSearchModel model); + + CommentViewModel? Insert(CommentBindingModel model); + + CommentViewModel? Update(CommentBindingModel model); + + CommentViewModel? Delete(CommentBindingModel model); + } +} \ No newline at end of file diff --git a/HardwareShop/HardwareShopContracts/StoragesContracts/IPurchaseStorage.cs b/HardwareShop/HardwareShopContracts/StoragesContracts/IPurchaseStorage.cs new file mode 100644 index 0000000..7a60b86 --- /dev/null +++ b/HardwareShop/HardwareShopContracts/StoragesContracts/IPurchaseStorage.cs @@ -0,0 +1,16 @@ +using HardwareShopContracts.BindingModels; +using HardwareShopContracts.SearchModels; +using HardwareShopContracts.ViewModels; + +namespace HardwareShopContracts.StoragesContracts +{ + public interface IPurchaseStorage + { + List GetFullList(); + List GetFilteredList(PurchaseSearchModel model); + PurchaseViewModel? GetElement(PurchaseSearchModel model); + PurchaseViewModel? Insert(PurchaseBindingModel model); + PurchaseViewModel? Update(PurchaseBindingModel model); + PurchaseViewModel? Delete(PurchaseBindingModel model); + } +} diff --git a/HardwareShop/HardwareShopContracts/ViewModels/BuildViewModel.cs b/HardwareShop/HardwareShopContracts/ViewModels/BuildViewModel.cs index 6146e13..186a85b 100644 --- a/HardwareShop/HardwareShopContracts/ViewModels/BuildViewModel.cs +++ b/HardwareShop/HardwareShopContracts/ViewModels/BuildViewModel.cs @@ -1,9 +1,8 @@ -using FoodOrdersDataModels.Models; -using HardwareShopDataModels.Models; +using HardwareShopDataModels.Models; using System.ComponentModel; -namespace FoodOrdersContracts.ViewModels +namespace HardwareShopContracts.ViewModels { - public class BuildSearchModel : IBuildModel + public class BuildViewModel : IBuildModel { public int Id { get; set; } diff --git a/HardwareShop/HardwareShopContracts/ViewModels/ClientViewModel.cs b/HardwareShop/HardwareShopContracts/ViewModels/ClientViewModel.cs index 81c30c2..07d009c 100644 --- a/HardwareShop/HardwareShopContracts/ViewModels/ClientViewModel.cs +++ b/HardwareShop/HardwareShopContracts/ViewModels/ClientViewModel.cs @@ -1,10 +1,10 @@ -using FoodOrdersDataModels.Models; +using HardwareShopDataModels.Models; using HardwareShopDataModels.Enums; using System.ComponentModel; -namespace FoodOrdersContracts.ViewModels +namespace HardwareShopContracts.ViewModels { - public class ClientBindingModel : IClientModel + public class ClientViewModel : IClientModel { public int Id { get; set; } diff --git a/HardwareShop/HardwareShopContracts/ViewModels/CommentViewModel.cs b/HardwareShop/HardwareShopContracts/ViewModels/CommentViewModel.cs index d1adc75..04fce82 100644 --- a/HardwareShop/HardwareShopContracts/ViewModels/CommentViewModel.cs +++ b/HardwareShop/HardwareShopContracts/ViewModels/CommentViewModel.cs @@ -1,10 +1,9 @@ -using FoodOrdersDataModels.Models; -using HardwareShopDataModels.Models; +using HardwareShopDataModels.Models; using System.ComponentModel; -namespace FoodOrdersContracts.ViewModels +namespace HardwareShopContracts.ViewModels { - public class CommentSearchModel : ICommentModel + public class CommentViewModel : ICommentModel { public int Id { get; set; } diff --git a/HardwareShop/HardwareShopContracts/ViewModels/ComponentViewModel.cs b/HardwareShop/HardwareShopContracts/ViewModels/ComponentViewModel.cs index 6e798ab..8f5d476 100644 --- a/HardwareShop/HardwareShopContracts/ViewModels/ComponentViewModel.cs +++ b/HardwareShop/HardwareShopContracts/ViewModels/ComponentViewModel.cs @@ -5,9 +5,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace FoodOrdersContracts.ViewModels +namespace HardwareShopContracts.ViewModels { - public class ComponentSearchModel : IComponentModel + public class ComponentViewModel : IComponentModel { public int Id { get; set; } } diff --git a/HardwareShop/HardwareShopContracts/ViewModels/GoodViewModel.cs b/HardwareShop/HardwareShopContracts/ViewModels/GoodViewModel.cs index a524375..cb80615 100644 --- a/HardwareShop/HardwareShopContracts/ViewModels/GoodViewModel.cs +++ b/HardwareShop/HardwareShopContracts/ViewModels/GoodViewModel.cs @@ -1,4 +1,4 @@ -using FoodOrdersDataModels.Enums; + using HardwareShopDataModels.Models; using System; using System.Collections.Generic; @@ -6,9 +6,9 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace FoodOrdersContracts.ViewModels +namespace HardwareShopContracts.ViewModels { - public class GoodBindingModel : IGoodModel + public class GoodViewModel : IGoodModel { public int Id { get; set; } } diff --git a/HardwareShop/HardwareShopContracts/ViewModels/OrderViewModel.cs b/HardwareShop/HardwareShopContracts/ViewModels/OrderViewModel.cs index 9279237..6d9c308 100644 --- a/HardwareShop/HardwareShopContracts/ViewModels/OrderViewModel.cs +++ b/HardwareShop/HardwareShopContracts/ViewModels/OrderViewModel.cs @@ -1,10 +1,9 @@ -using FoodOrdersDataModels.Enums; -using FoodOrdersDataModels.Models; +using HardwareShopDataModels.Enums; using HardwareShopDataModels.Models; using System.ComponentModel; -namespace FoodOrdersContracts.ViewModels +namespace HardwareShopContracts.ViewModels { - public class OrderSearchModel : IOrderModel + public class OrderViewModel : IOrderModel { public int Id { get; set; } } diff --git a/HardwareShop/HardwareShopContracts/ViewModels/PurchaseViewModel.cs b/HardwareShop/HardwareShopContracts/ViewModels/PurchaseViewModel.cs index eaedf51..485ad15 100644 --- a/HardwareShop/HardwareShopContracts/ViewModels/PurchaseViewModel.cs +++ b/HardwareShop/HardwareShopContracts/ViewModels/PurchaseViewModel.cs @@ -1,10 +1,9 @@ -using FoodOrdersDataModels.Enums; -using FoodOrdersDataModels.Models; +using HardwareShopDataModels.Enums; using HardwareShopDataModels.Models; using System.ComponentModel; -namespace FoodOrdersContracts.ViewModels +namespace HardwareShopContracts.ViewModels { - public class PurachaseViewModel : IPurchaseModel + public class PurchaseViewModel : IPurchaseModel { public int Id { get; set; } diff --git a/HardwareShop/HardwareShopDataModels/Enums/PurchaseStatus.cs b/HardwareShop/HardwareShopDataModels/Enums/PurchaseStatus.cs index b75cf6a..e91f70f 100644 --- a/HardwareShop/HardwareShopDataModels/Enums/PurchaseStatus.cs +++ b/HardwareShop/HardwareShopDataModels/Enums/PurchaseStatus.cs @@ -1,4 +1,4 @@ -namespace FoodOrdersDataModels.Enums +namespace HardwareShopDataModels.Enums { public enum PurchaseStatus { diff --git a/HardwareShop/HardwareShopDataModels/Models/IBuildModel.cs b/HardwareShop/HardwareShopDataModels/Models/IBuildModel.cs index 0976d31..9bccda5 100644 --- a/HardwareShop/HardwareShopDataModels/Models/IBuildModel.cs +++ b/HardwareShop/HardwareShopDataModels/Models/IBuildModel.cs @@ -1,4 +1,4 @@ -using FoodOrdersDataModels.Enums; +using HardwareShopDataModels.Enums; using System; using System.Collections.Generic; using System.Linq; diff --git a/HardwareShop/HardwareShopDataModels/Models/IClientModel.cs b/HardwareShop/HardwareShopDataModels/Models/IClientModel.cs index a9d6f07..d63d9a5 100644 --- a/HardwareShop/HardwareShopDataModels/Models/IClientModel.cs +++ b/HardwareShop/HardwareShopDataModels/Models/IClientModel.cs @@ -1,7 +1,7 @@ using HardwareShopDataModels; using HardwareShopDataModels.Enums; -namespace FoodOrdersDataModels.Models +namespace HardwareShopDataModels.Models { public interface IClientModel : IId { diff --git a/HardwareShop/HardwareShopDataModels/Models/IPurchaseModel.cs b/HardwareShop/HardwareShopDataModels/Models/IPurchaseModel.cs index 32b0af5..3301105 100644 --- a/HardwareShop/HardwareShopDataModels/Models/IPurchaseModel.cs +++ b/HardwareShop/HardwareShopDataModels/Models/IPurchaseModel.cs @@ -1,4 +1,4 @@ -using FoodOrdersDataModels.Enums; +using HardwareShopDataModels.Enums; namespace HardwareShopDataModels.Models {