Exemplo n.º 1
0
        public ActionResult _Parameters(
            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.ObjectSearch(listCommand, id, templateId, pageId, filterVal);

            return(new TelerikResult(serviceResult.Data, serviceResult.TotalRecords));
        }
Exemplo n.º 2
0
        public ActionResult _Parameters(string tabId, int parentId, int id, int?templateId, int?pageId, string filterVal, GridCommand command)
        {
            var serviceResult = _pageTemplateService.ObjectSearch(command.GetListCommand(), id, templateId, pageId, filterVal);

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