Mochalov D.V. LabWork05_Hard #13
@ -109,7 +109,8 @@ namespace LawFirmView
|
||||
{
|
||||
Id = _id ?? 0,
|
||||
Name = textBoxName.Text,
|
||||
Adress = textBoxAddress.Text
|
||||
Adress = textBoxAddress.Text,
|
||||
OpeningDate = dateTimePicker.Value.Date
|
||||
};
|
||||
var operationResult = _id.HasValue ? _logic.Update(model) : _logic.Create(model);
|
||||
if (!operationResult)
|
||||
|
Loading…
Reference in New Issue
Block a user