Доделал дату
This commit is contained in:
parent
66e77b2a1a
commit
ef3d3d4114
@ -109,7 +109,8 @@ namespace LawFirmView
|
|||||||
{
|
{
|
||||||
Id = _id ?? 0,
|
Id = _id ?? 0,
|
||||||
Name = textBoxName.Text,
|
Name = textBoxName.Text,
|
||||||
Adress = textBoxAddress.Text
|
Adress = textBoxAddress.Text,
|
||||||
|
OpeningDate = dateTimePicker.Value.Date
|
||||||
};
|
};
|
||||||
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…
x
Reference in New Issue
Block a user