Skip to main content
1 of 2

Return Sitecore item as list of Model

I am trying to return sitecore items list from my controller as list of model type eg. public List Results { get; set; } i need to get the list of items in Results. Using glassmapper this is easily done this.Results.Add(siteContext.GetItem(result.Document.GetItem().ID.Guid)); but i need to get it without glassmapper . Any way of doing this.