Ejemplo n.º 1
0
        public ActionResult _VirtualIndex(string tabId, int parentId, GridCommand command)
        {
            var normFilter = ContentListFilter.Empty;

            normFilter.SiteId = parentId;
            var serviceResult = VirtualContentService.List(normFilter, command.GetListCommand());

            return(new TelerikResult(serviceResult.Data, serviceResult.TotalRecords));
        }
Ejemplo n.º 2
0
        public ActionResult _VirtualIndex(string tabId, int parentId, int page, int pageSize, string orderBy)
        {
            var normFilter = ContentListFilter.Empty;

            normFilter.SiteId = parentId;
            var listCommand   = GetListCommand(page, pageSize, orderBy);
            var serviceResult = VirtualContentService.List(normFilter, listCommand);

            return(new TelerikResult(serviceResult.Data, serviceResult.TotalRecords));
        }