public void updateProfileWhatsapp(ProfileWhatsapp _profileWhatsapp)
        {
            int newIndex = ProfileWhatsapp.IndexOf(selectedProfileWhatsapp);

            ProfileWhatsapp.Remove(selectedProfileWhatsapp);

            ProfileWhatsapp.Insert(newIndex, _profileWhatsapp);
        }
 public void removeProfileWhatsapp()
 {
     ProfileWhatsapp.Remove(selectedProfileWhatsapp);
     if (ProfileWhatsapp.Count == 0)
     {
         EmptyList = true;
     }
 }