Доделал дату

This commit is contained in:
Данила Мочалов 2023-02-13 08:48:47 +04:00
parent 5c57715fe3
commit cf13f3028e

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)