Пример #1
0
        /// <summary>
        /// Allows user to view a provided store's order history in a way which they choose
        /// </summary>
        private void ViewOrders()
        {
            _location = validation.ValidateString("Enter the store's name:");
            _address  = validation.ValidateAddress("Enter the store's address in format CityName, ST");
            int orderOption = validation.ValidateOrderSearchOptions("Choose an option from the list!");

            foreach (DogOrder dogOrder in _orBL.FindStoreOrders(_address, _location, orderOption))
            {
                Console.WriteLine(dogOrder.ToString());
            }
        }