Пример #1
0
        public void Execute()
        {
            //OrderManager manager = OrderManagerFactory.Create();

            CommonIO.ShowHeader("Edit an order");
            OrderLookupResponse response = ConsoleIO.AskForExistingOrder();

            if (response.Success)
            {
                EditOrderIO.ShowEditInstructions();
                GetEdits(response.Order);
                SaveOrderToList(response.Order);
            }
            else
            {
                Console.WriteLine("An error occurred: ");
                CommonIO.errMsg(response.Message);
            }
        }