public void crossValidateUser(APIMService[] apims)
        {
            ApimsFound = 0;
            if (!IsValidated)
            {
                validateUser();
            }
            int index = 0;

            foreach (var apim in apims)
            {
                bool found = false;
                foreach (UserNormalizationStatus userIter in UsersStatus)
                {
                    if (apim.APIMServiceName.Equals(userIter.APIMName))
                    {
                        found      = true;
                        ApimsFound = ApimsFound + 1;
                    }
                }
                if (!found)
                {
                    UserNormalizationStatus newUNS = new UserNormalizationStatus {
                        APIMName = apim.APIMServiceName, ExistsInAPIM = false, HasADB2C = false, IsEmailFoundInADB2C = false, IsFoundInADB2C = false, ObjectId = null
                    };
                    UsersStatus.Insert(index, newUNS);
                    validateUser();
                }
                index++;
            }
            IsCrossValidated = true;
        }
 public void AddUserNormalizationStatus(UserNormalizationStatus user)
 {
     foreach (UserNormalizationStatus iterUser in UsersStatus)
     {
         if (user.APIMName.Equals(iterUser.APIMName))
         {
             iterUser.ExistsInAPIM        = user.ExistsInAPIM;
             iterUser.HasADB2C            = user.HasADB2C;
             iterUser.IsEmailFoundInADB2C = user.IsEmailFoundInADB2C;
             iterUser.IsFoundInADB2C      = user.IsFoundInADB2C;
             iterUser.ObjectId            = user.ObjectId;
         }
     }
     UsersStatus.Add(user);
 }