This commit is contained in:
gg12 darfren 2024-04-21 21:33:19 +04:00
parent 679d76fa48
commit 93686aa0f7

View File

@ -105,6 +105,7 @@ namespace IceCreamShop
Address = AddressTextBox.Text,
DateOpen = DateTimePicker.Value.Date,
MaxCapacity = Convert.ToInt32(CapacityUpDown.Value),
ShopIceCreams = null
};
var operationResult = _id.HasValue ? _logic.Update(model) : _logic.Create(model);
if (!operationResult)