Mochalov D.V. LabWork01_Hard #3

Closed
b0n3l3sS wants to merge 23 commits from LabWork01_Hard into LabWork01_Base
Showing only changes of commit cf13f3028e - Show all commits

View File

@ -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)