diff --git a/ComputerShopContracts/BindingModels/ShipmentBindingModel.cs b/ComputerShopContracts/BindingModels/ShipmentBindingModel.cs new file mode 100644 index 0000000..3479ea9 --- /dev/null +++ b/ComputerShopContracts/BindingModels/ShipmentBindingModel.cs @@ -0,0 +1,13 @@ +using ComputerShopDataModels.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ComputerShopContracts.BindingModels +{ + public class ShipmentBindingModel : IShipmentModel + { + } +} diff --git a/ComputerShopContracts/ComputerShopContracts.csproj b/ComputerShopContracts/ComputerShopContracts.csproj index 351e363..ac0c524 100644 --- a/ComputerShopContracts/ComputerShopContracts.csproj +++ b/ComputerShopContracts/ComputerShopContracts.csproj @@ -10,8 +10,4 @@ - - - - diff --git a/ComputerShopDataModels/Models/IOrder.cs b/ComputerShopDataModels/Models/IOrderModel.cs similarity index 87% rename from ComputerShopDataModels/Models/IOrder.cs rename to ComputerShopDataModels/Models/IOrderModel.cs index 067aaad..f5a66f8 100644 --- a/ComputerShopDataModels/Models/IOrder.cs +++ b/ComputerShopDataModels/Models/IOrderModel.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; namespace ComputerShopDataModels.Models { - public interface IOrder : IId + public interface IOrderModel : IId { //ID пользователя, который создал заказ int UserId { get; } @@ -15,7 +15,7 @@ namespace ComputerShopDataModels.Models /// /// Заявки в заказе (может не быть) /// - Dictionary? OrderRequests { get; } + Dictionary? OrderRequests { get; } //!!!УДАЛИТЬ //ID заявки (может быть пустым) @@ -28,7 +28,7 @@ namespace ComputerShopDataModels.Models /// /// Партии товаров в заказе (может не быть) /// - Dictionary? OrderShipments { get; } + Dictionary? OrderShipments { get; } diff --git a/ComputerShopDataModels/Models/IRequest.cs b/ComputerShopDataModels/Models/IRequestModel.cs similarity index 95% rename from ComputerShopDataModels/Models/IRequest.cs rename to ComputerShopDataModels/Models/IRequestModel.cs index 03ec143..253f184 100644 --- a/ComputerShopDataModels/Models/IRequest.cs +++ b/ComputerShopDataModels/Models/IRequestModel.cs @@ -9,7 +9,7 @@ namespace ComputerShopDataModels.Models /// /// Заявка /// - public interface IRequest : IId + public interface IRequestModel : IId { //ID пользователя, создавшего заявку int UserId { get; } diff --git a/ComputerShopDataModels/Models/IShipment.cs b/ComputerShopDataModels/Models/IShipmentModel.cs similarity index 93% rename from ComputerShopDataModels/Models/IShipment.cs rename to ComputerShopDataModels/Models/IShipmentModel.cs index ecf3913..704647d 100644 --- a/ComputerShopDataModels/Models/IShipment.cs +++ b/ComputerShopDataModels/Models/IShipmentModel.cs @@ -9,7 +9,7 @@ namespace ComputerShopDataModels.Models /// /// Поставка товара /// - public interface IShipment : IId + public interface IShipmentModel : IId { //ID пользователя, создавшего поставку int UserId { get; }