From f18574696b00c7be855ab091522dd3f04f3e2de2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=B0=D0=B2=D0=B5=D0=BB=20=D0=9F=D1=83=D1=82=D0=B8?= =?UTF-8?q?=D0=BB=D0=B8=D0=BD?= Date: Wed, 12 Apr 2023 11:13:38 +0400 Subject: [PATCH] fix --- PrecastConcretePlant/PrecastConcretePlant/FormShop.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PrecastConcretePlant/PrecastConcretePlant/FormShop.cs b/PrecastConcretePlant/PrecastConcretePlant/FormShop.cs index aed350a..6daff3e 100644 --- a/PrecastConcretePlant/PrecastConcretePlant/FormShop.cs +++ b/PrecastConcretePlant/PrecastConcretePlant/FormShop.cs @@ -94,6 +94,7 @@ namespace PrecastConcretePlantView Name = comboBoxShop.Text, Address = textBoxAddress.Text, DateOpening = dateTimePickerOpening.Value, + }; var vmodel = GetShop(Id); bool operationResult = false; @@ -101,6 +102,7 @@ namespace PrecastConcretePlantView if (vmodel != null) { model.Id = vmodel.Id; + model.Reinforceds = vmodel.Reinforceds; operationResult = _logic.Update(model); } else