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