This commit is contained in:
parent 2ed36cda8e
commit 9509543350

View File

@ -109,7 +109,8 @@ namespace AircraftPlantView
Id = _id ?? 0,
ShopName = textBoxName.Text,
Address = textBoxAddress.Text,
DateOpening = dateTimePicker.Value.Date
DateOpening = dateTimePicker.Value.Date,
ShopPlanes = _shopPlanes
};
var operationResult = _id.HasValue ? _logic.Update(model) : _logic.Create(model);
if (!operationResult)