From 96dd6c0089de4bab6739f5f8c1aa3c830fbf63c6 Mon Sep 17 00:00:00 2001 From: Zakharov_Rostislav Date: Wed, 14 Feb 2024 16:36:39 +0400 Subject: [PATCH] some minor fixes --- BlacksmithWorkshop/BlacksmithWorkshop/FormSupply.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BlacksmithWorkshop/BlacksmithWorkshop/FormSupply.cs b/BlacksmithWorkshop/BlacksmithWorkshop/FormSupply.cs index 8e2c04c..4288560 100644 --- a/BlacksmithWorkshop/BlacksmithWorkshop/FormSupply.cs +++ b/BlacksmithWorkshop/BlacksmithWorkshop/FormSupply.cs @@ -19,7 +19,7 @@ namespace BlacksmithWorkshop private readonly List? _manufactureList; private readonly List? _shopsList; IShopLogic _shopLogic; - IManufactureLogic _ManufactureLogic; + IManufactureLogic _manufactureLogic; public int ShopId { get @@ -69,7 +69,7 @@ namespace BlacksmithWorkshop { InitializeComponent(); _shopLogic = shopLogic; - _ManufactureLogic = ManufactureLogic; + _manufactureLogic = ManufactureLogic; _manufactureList = ManufactureLogic.ReadList(null); _shopsList = shopLogic.ReadList(null); if (_manufactureList != null) @@ -112,7 +112,7 @@ namespace BlacksmithWorkshop int count = Convert.ToInt32(CountTextBox.Text); bool res = _shopLogic.ReplenishManufactures( new ShopSearchModel() { Id = Convert.ToInt32(ShopComboBox.SelectedValue) }, - _ManufactureLogic.ReadElement(new() { Id = Convert.ToInt32(ManufactureComboBox.SelectedValue) }), + _manufactureLogic.ReadElement(new() { Id = Convert.ToInt32(ManufactureComboBox.SelectedValue) }), count ); if (!res)