public void ImportEntitySearches(CrmServiceClient crmService, Guid configurationId, USDConfiguration sourceUsdConfiguration, USDConfiguration targetUSDConfiguration, List <LookupMatchCriteria> lookupMatchCriterias) { LookupMatchCriteria entitySearchesLookupMatchCriteria = GetLookupMatchCriteria("msdyusd_entitysearch", lookupMatchCriterias); CRMEntity sourceEntitySearchesCE = sourceUsdConfiguration.GetCRMEntity("msdyusd_entitysearch"); CRMEntity targetEntitySearchesCE = targetUSDConfiguration.GetCRMEntity("msdyusd_entitysearch"); ImportResult entitySearchesImportResult = _entitySearchRepository.ImportEntitySearches(crmService, sourceEntitySearchesCE, targetEntitySearchesCE, entitySearchesLookupMatchCriteria); ImportResult configurationEntitySearchesImportResult = _entitySearchRepository.ImportConfigurationEntitySearches(crmService, configurationId, sourceEntitySearchesCE, targetEntitySearchesCE); _importResults.Add(entitySearchesImportResult); _importResults.Add(configurationEntitySearchesImportResult); }