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);
        }
Exemplo n.º 3
0
        public bool updateProfileEmail(ProfileEmail _profileEmail)
        {
            int newIndex = ProfileEmail.IndexOf(selectedProfileEmail);

            ProfileEmail.Remove(selectedProfileEmail);

            ProfileEmail.Insert(newIndex, _profileEmail);
            IsUp = true;
            return(IsUp);
        }