From 164413a1d85cc4fbcaebdbe8016f5c8fc65c6b5e Mon Sep 17 00:00:00 2001 From: the Date: Sun, 23 Apr 2023 12:37:28 +0400 Subject: [PATCH] Fix --- ComputerShopBusinessLogic/BusinessLogics/OrderLogic.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);