PIbd-21_MasenkinMS_LabWork01_Hard #4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user