public ActionResult _Index( string tabId, int parentId, int page, int pageSize, int gridParentId, string orderBy) { var listCommand = GetListCommand(page, pageSize, orderBy); var serviceResult = _service.List(listCommand); return(new TelerikResult(serviceResult.Data, serviceResult.TotalRecords)); }
public ActionResult _Index(string tabId, int parentId, GridCommand command) { var serviceResult = _service.List(command.GetListCommand()); return(new TelerikResult(serviceResult.Data, serviceResult.TotalRecords)); }