public void updateProfileWhatsapp(ProfileWhatsapp _profileWhatsapp) { int newIndex = ProfileWhatsapp.IndexOf(selectedProfileWhatsapp); ProfileWhatsapp.Remove(selectedProfileWhatsapp); ProfileWhatsapp.Insert(newIndex, _profileWhatsapp); }