Exemplo n.º 1
0
        public ActionResult _IndexPageObjectFormatVersions(string tabId, int parentId, int page, int pageSize, string orderBy)
        {
            var listCommand   = GetListCommand(page, pageSize, orderBy);
            var serviceResult = _formatService.GetPageObjectFormatVersionsByFormatId(listCommand, parentId);

            return(new TelerikResult(serviceResult.Data, serviceResult.TotalRecords));
        }
Exemplo n.º 2
0
        public ActionResult _IndexPageObjectFormatVersions(string tabId, int parentId, GridCommand command)
        {
            var serviceResult = _formatService.GetPageObjectFormatVersionsByFormatId(command.GetListCommand(), parentId);

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