/// <summary> /// The method that collected all the steps to remove an item from the warehouse. /// </summary> /// <param name="removeProduct"></param> #region Removing product static void RemovingProduct(RemoveProductController removeProduct) { Console.Clear(); while (true) { InventoryManager(); removeProduct.RemoveMenu(); removeProduct.YesNo(ref yesNo); removeProduct.ValueYesNo(ref yesNo, ref countItemsOfWarehouse); if (yesNo == "n") { break; } } }
public RemoveProductScreen(ProductModel product) { InitializeComponent(); _controller = new RemoveProductController(this, product); }