public void A080_GetList() { List <Country> countries = countriesService.GetList(); Assert.AreEqual(numberOfCountries, countries.Count); Assert.AreEqual(Country1.PrimaryKey, countries[0].PrimaryKey); }
private void UpdateCountryList() { List <Country> countries = new List <Country>(); countries.Add(emptyCountry); countries.AddRange(countiresService.GetList(orderedList: true)); cmbCountry.ValueMember = "Description"; cmbCountry.DisplayMember = "Description"; cmbCountry.DataSource = countries; }