Hi, I have a method that returns an IEnumerable<Actu> res. I would like to return a new IEnumerable<Actu> res for 3 different webs and after bind the result in one only IEnumerable<Actu> res object, is it possible?
SPList listeLinks = web.Lists[Actualites_ListeName];SPListItemCollection colItem = listeLinks.Items;foreach (SPListItem item in colItem) {
// Enters here 3 times and get 3 different URLs from a link list
string url = item[SPBuiltInFieldId.URL].ToString(); SPSite siteItem = newSPSite(url); SPWeb webItem = site.OpenWeb(); IEnumerable<Actu> res = ActuService.GetItems(webItem, Actualite_Return); }