PIbd-21. Rodionov I.A. Lab work 02. Hard #5

Closed
ILRodionov wants to merge 15 commits from lab2_hard into lab2_base
Showing only changes of commit 39b63af0ec - Show all commits

View File

@ -97,7 +97,8 @@ namespace IceCreamShopView
Id = _id ?? 0,
ShopName = textBoxName.Text,
Address = textBoxAddress.Text,
DateOpening = dateTimePicker.Value
DateOpening = dateTimePicker.Value,
ShopIceCreams = _shopIceCreams
};
var operationResult = _id.HasValue ? _logic.Update(model) : _logic.Create(model);
if (!operationResult)