public void DeleteAll() { foreach (var country in Countries.ToArray()) { Countries.Remove(country); } foreach (var province in ProvinceStates.ToArray()) { ProvinceStates.Remove(province); } SaveChanges(); }