private void GetCountriesList()
        {
            CountryList?.Clear();

            CountryList = AsyncHelper.RunSync <IList <Country> >(() => CitySelectorService.
                                                                 GetCountries());
        }
Exemplo n.º 2
0
        private void GetCountriesList()
        {
            CountryList?.Clear();
            var items = AsyncHelper.RunSync <IList <Country> >(() => CitySelectorService.
                                                               GetCountries());

            CountryList = items.OrderBy(x => x.Name).ToList();
        }