public void updateProfileSM(ProfileSM _profileSM) { int newIndex = ProfileSM.IndexOf(selectedProfileSM); ProfileSM.Remove(selectedProfileSM); ProfileSM.Insert(newIndex, _profileSM); }
public void removeProfileSM() { ProfileSM.Remove(selectedProfileSM); if (ProfileSM.Count == 0) { EmptyList = true; } }