мда
This commit is contained in:
parent
679d76fa48
commit
93686aa0f7
@ -105,6 +105,7 @@ namespace IceCreamShop
|
|||||||
Address = AddressTextBox.Text,
|
Address = AddressTextBox.Text,
|
||||||
DateOpen = DateTimePicker.Value.Date,
|
DateOpen = DateTimePicker.Value.Date,
|
||||||
MaxCapacity = Convert.ToInt32(CapacityUpDown.Value),
|
MaxCapacity = Convert.ToInt32(CapacityUpDown.Value),
|
||||||
|
ShopIceCreams = null
|
||||||
};
|
};
|
||||||
var operationResult = _id.HasValue ? _logic.Update(model) : _logic.Create(model);
|
var operationResult = _id.HasValue ? _logic.Update(model) : _logic.Create(model);
|
||||||
if (!operationResult)
|
if (!operationResult)
|
||||||
|
Loading…
Reference in New Issue
Block a user