Пример #1
0
        public void PlaceOrder()
        {
            Console.WriteLine("Enter customer id: ");
            int customerId = Int32.Parse(Console.ReadLine());

            Console.WriteLine("Enter phone name: ");
            string phoneName = Console.ReadLine();

            int orderId = controller.PlaceOrder(phoneName, customerId);

            Console.WriteLine("Order placed with ID -- " + orderId);
        }