Beispiel #1
0
        public ActionResult _IndexTemplateObjectFormatVersions(string tabId, int parentId, int page, int pageSize, string orderBy)
        {
            var listCommand   = GetListCommand(page, pageSize, orderBy);
            var serviceResult = _formatService.GetTemplateObjectFormatVersionsByFormatId(listCommand, parentId);

            return(new TelerikResult(serviceResult.Data, serviceResult.TotalRecords));
        }
Beispiel #2
0
        public ActionResult _IndexTemplateObjectFormatVersions(string tabId, int parentId, GridCommand command)
        {
            var serviceResult = _formatService.GetTemplateObjectFormatVersionsByFormatId(command.GetListCommand(), parentId);

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