Beispiel #1
0
        public ActionResult _Formats(
            string tabId, int parentId, int id, int?templateId, int?pageId, string filterVal,
            int page, int pageSize, string orderBy)
        {
            var listCommand   = GetListCommand(page, pageSize, orderBy);
            var serviceResult = _pageTemplateService.FormatSearch(listCommand, id, templateId, pageId, filterVal);

            return(new TelerikResult(serviceResult.Data, serviceResult.TotalRecords));
        }
        public ActionResult _Formats(string tabId, int parentId, int id, int?templateId, int?pageId, string filterVal, GridCommand command)
        {
            var serviceResult = _pageTemplateService.FormatSearch(command.GetListCommand(), id, templateId, pageId, filterVal);

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