diff --git a/LawFirm/LawFirm/FormShop.cs b/LawFirm/LawFirm/FormShop.cs index baa498b..8091c6a 100644 --- a/LawFirm/LawFirm/FormShop.cs +++ b/LawFirm/LawFirm/FormShop.cs @@ -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)