Исправление проблемы с обновлением магазина
This commit is contained in:
parent
0fb763fc1b
commit
39b63af0ec
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user