コード例 #1
0
        public async Task <IEnumerable <ZipCodeLocationPair> > GetNearestZipCodes(string originZipCode, string[] destZipCodes)
        {
            var distances = await _locationQuery.GetZipCodeDistancesAsync(originZipCode, destZipCodes);

            return(distances.ToArray());
        }