This commit is contained in:
Павел Путилин 2023-04-12 11:13:38 +04:00
parent 07579f53fd
commit f18574696b

@ -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