private void OrderItems() { while (true) { restro.ShowItemList(true); Console.Write("Select Item : "); int selectedItemId = Convert.ToInt32(Console.ReadLine()); Console.Write("Select Quantity: "); int quantity = Convert.ToInt32(Console.ReadLine()); restro.SetOrder(selectedItemId, quantity); Console.Write("Do you want to order something (Y/N): "); string choice = Console.ReadLine(); if (choice.Equals("N", StringComparison.OrdinalIgnoreCase)) { break; } } restro.OrderCompleted(UserId, Name); }