public void AddCountry() { var name = "Country " + Countries.Count; CountryNames.Add(name); Countries.Add(new CountryData() { Id = Countries.Count + 1, Name = name }); }
public void Add(string name) { CountryNames.Add(name); IsNoCountry = false; }