Пример #1
0
        public object Get(string address)
        {
            if (address == null)
            {
                return(BadRequest());
            }
            // Calculate short path to pick item from store to customer
            var shortpath = _deliveryService.CalculateShortPath(address);

            if (shortpath == null)
            {
                return(BadRequest());
            }

            // return short path
            return(shortpath);
        }