Пример #1
0
        LocationReference ILinkedInQuery.GetLocation(string countryIsoCode, string location)
        {
            if (string.IsNullOrEmpty(countryIsoCode) || string.IsNullOrEmpty(location))
            {
                return(null);
            }

            var country = _locationQuery.GetCountryByIsoCode(countryIsoCode);

            if (country == null)
            {
                return(null);
            }

            return(_locationQuery.ResolveLocation(country, location));
        }