fix
This commit is contained in:
parent
07579f53fd
commit
f18574696b
@ -94,6 +94,7 @@ namespace PrecastConcretePlantView
|
|||||||
Name = comboBoxShop.Text,
|
Name = comboBoxShop.Text,
|
||||||
Address = textBoxAddress.Text,
|
Address = textBoxAddress.Text,
|
||||||
DateOpening = dateTimePickerOpening.Value,
|
DateOpening = dateTimePickerOpening.Value,
|
||||||
|
|
||||||
};
|
};
|
||||||
var vmodel = GetShop(Id);
|
var vmodel = GetShop(Id);
|
||||||
bool operationResult = false;
|
bool operationResult = false;
|
||||||
@ -101,6 +102,7 @@ namespace PrecastConcretePlantView
|
|||||||
if (vmodel != null)
|
if (vmodel != null)
|
||||||
{
|
{
|
||||||
model.Id = vmodel.Id;
|
model.Id = vmodel.Id;
|
||||||
|
model.Reinforceds = vmodel.Reinforceds;
|
||||||
operationResult = _logic.Update(model);
|
operationResult = _logic.Update(model);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user