PIbd-21_MasenkinMS_LabWork01_Hard #4

Closed
Factorino73 wants to merge 4 commits from LabWork01_Hard into LabWork01_Basic
Showing only changes of commit 9509543350 - Show all commits

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)