Ejemplo n.º 1
0
 public void CreateNewAccounts()
 {
     if (NewExigoAccounts.Count > 0)
     {
         NewExigoAccounts.ForEach(CreateNewCrmAccount);
         _newCrmAccountsToSubmit = updater.RetreiveAccounts();
         _crmContext             = DataAccess.Utilities.GetCRMContext();
         _newCrmAccountsToSubmit.ForEach(SubmitToCrm);
         AccountsFoundInCrm.AsParallel().ForAll(SendKeyValueToExigo);
     }
 }