public static void deleteCategory() { Console.WriteLine("a. Delete By ID"); Console.WriteLine("b. Delete By Short Code"); string choicefordelete = Console.ReadLine(); UserOperations.deleteCategoryMenu(choicefordelete); }
public static void searchCategory() { Console.WriteLine("a. Search By ID"); Console.WriteLine("b. Search By Name"); Console.WriteLine("c. Search By Short Code"); string choiceForSearch = Console.ReadLine(); UserOperations.categorySearchMenu(choiceForSearch); }
public static void DeleteProduct() { ListOfAllProducts(); Console.WriteLine("a. Delete By ID"); Console.WriteLine("b. Delete By Short Code"); char ch2 = Convert.ToChar(Console.ReadLine()); UserOperations.DeleteProductMenu(ch2); }
public static void SearchByPrice() { Console.WriteLine("a. Search By Equal Price"); Console.WriteLine("b. Search By Greater Price"); Console.WriteLine("c. Search By Lesser Price"); char ch = Convert.ToChar(Console.ReadLine()); UserOperations.SearchByPriceMenu(ch); }
public static void SearchProduct() { Console.WriteLine("a. Search By ID"); Console.WriteLine("b. Search By Name"); Console.WriteLine("c. Search By Short Code"); Console.WriteLine("d. Search By Price"); char ch3 = Convert.ToChar(Console.ReadLine()); UserOperations.SearchProductMenu(ch3); }