Mochalov D.V. LabWork05_Hard #13

Closed
b0n3l3sS wants to merge 63 commits from LabWork05_Hard into LabWork05_Base
Showing only changes of commit 5327fd4511 - Show all commits

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)