public void removeProfileEmail() { ProfileEmail.Remove(selectedProfileEmail); if (ProfileEmail.Count == 0) { EmptyList = true; } }
public void updateProfileEmail(ProfileEmail _profileEmail) { int newIndex = ProfileEmail.IndexOf(selectedProfileEmail); ProfileEmail.Remove(selectedProfileEmail); ProfileEmail.Insert(newIndex, _profileEmail); }
public bool updateProfileEmail(ProfileEmail _profileEmail) { int newIndex = ProfileEmail.IndexOf(selectedProfileEmail); ProfileEmail.Remove(selectedProfileEmail); ProfileEmail.Insert(newIndex, _profileEmail); IsUp = true; return(IsUp); }