Putilin P. A. Lab work 1 Hard #10

Closed
Pavel wants to merge 5 commits from Lab1Hard into Lab1Base
Showing only changes of commit f18574696b - Show all commits

View File

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