fix
This commit is contained in:
parent
88bea7b6be
commit
5ef6ef9473
@ -104,7 +104,8 @@ namespace ShipyardView
|
||||
Id = _id ?? 0,
|
||||
ShopName = textBoxName.Text,
|
||||
Address = textBoxAddress.Text,
|
||||
DateOpen = DateTime.Parse(dateTimePickerDateOpen.Text)
|
||||
DateOpen = DateTime.Parse(dateTimePickerDateOpen.Text),
|
||||
Ships = _shopShips
|
||||
};
|
||||
var operationResult = _id.HasValue ? _logic.Update(model) : _logic.Create(model);
|
||||
if (!operationResult)
|
||||
|
Loading…
Reference in New Issue
Block a user