From ef3d3d411476f78f0aeef662d52777f209d4369b Mon Sep 17 00:00:00 2001 From: Danila_Mochalov Date: Mon, 13 Feb 2023 08:48:47 +0400 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B4=D0=B5=D0=BB=D0=B0=D0=BB=20?= =?UTF-8?q?=D0=B4=D0=B0=D1=82=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LawFirm/LawFirm/FormShop.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)