This commit is contained in:
Данила Мочалов 2023-03-13 11:15:33 +04:00
parent 3b2493bbaf
commit 5327fd4511

View File

@ -110,7 +110,8 @@ namespace LawFirmView
Id = _id ?? 0,
Name = textBoxName.Text,
Adress = textBoxAddress.Text,
OpeningDate = dateTimePicker.Value.Date
OpeningDate = dateTimePicker.Value.Date,
ShopDocuments = _shopDocuments
};
var operationResult = _id.HasValue ? _logic.Update(model) : _logic.Create(model);
if (!operationResult)