From 9509543350c23d329b23145bf74847d6c486fc93 Mon Sep 17 00:00:00 2001 From: Factorino73 Date: Mon, 26 Feb 2024 11:47:25 +0400 Subject: [PATCH] Fix --- AircraftPlant/AircraftPlantView/FormShop.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AircraftPlant/AircraftPlantView/FormShop.cs b/AircraftPlant/AircraftPlantView/FormShop.cs index a5a414d..3c96409 100644 --- a/AircraftPlant/AircraftPlantView/FormShop.cs +++ b/AircraftPlant/AircraftPlantView/FormShop.cs @@ -109,7 +109,8 @@ namespace AircraftPlantView Id = _id ?? 0, ShopName = textBoxName.Text, Address = textBoxAddress.Text, - DateOpening = dateTimePicker.Value.Date + DateOpening = dateTimePicker.Value.Date, + ShopPlanes = _shopPlanes }; var operationResult = _id.HasValue ? _logic.Update(model) : _logic.Create(model); if (!operationResult)