Ejemplo n.º 1
0
 /// <summary>
 /// Method to show all item in inventory
 /// </summary>
 /// <param name="inventoryController"></param>
 private static void ShowAllItem(InventoryController inventoryController) =>
 inventoryController.ShowAllItem();
Ejemplo n.º 2
0
        /// <summary>
        /// Method for delete item in inventory
        /// </summary>
        /// <param name="inventoryController"></param>
        private static void DeleteItemFromInveotry(InventoryController inventoryController)
        {
            int deletedItemIndex = 1;

            inventoryController.DeleteItem(deletedItemIndex);
        }