public CountryDetailsViewModel()
        {
            XmlCountryRepository countryRepository = new XmlCountryRepository();
            CountryData country = countryRepository.GetCountryById(Navigation.Id);

            DataContext = country;
        }
 public MainPageViewModel()
 {
     XmlCountryRepository countryRepository = new XmlCountryRepository();
     ListItemsSource = countryRepository.GetCountryList();
 }