diff --git a/ComputerShopBusinessLogic/BusinessLogics/OrderLogic.cs b/ComputerShopBusinessLogic/BusinessLogics/OrderLogic.cs index 645e832..ade2bfa 100644 --- a/ComputerShopBusinessLogic/BusinessLogics/OrderLogic.cs +++ b/ComputerShopBusinessLogic/BusinessLogics/OrderLogic.cs @@ -72,9 +72,9 @@ namespace ComputerShopBusinessLogic.BusinessLogics Count = viewModel.Count, Sum = viewModel.Sum }; - if (model.ImplementerId.HasValue) + if (viewModel.ImplementerId.HasValue) { - model1.ImplementerId = model.ImplementerId; + model1.ImplementerId = viewModel.ImplementerId; } CheckModel(model1, false);