code: function () {
              var self = this;
              var originalListAction = self.options.actions.listAction;
              self.options.actions.listAction = function (postData, jtParams) {
                  return $.Deferred(function ($dfd) {
  
                      var input = $.extend({}, postData, {
                          skipCount: jtParams.jtStartIndex,
                          maxResultCount: jtParams.jtPageSize,
                          sorting: jtParams.jtSorting
                      });
  
                      originalListAction.method(input)
                          .done(function (result) {
                              $dfd.resolve({
                                  "Result": "OK",
                                  "Records": result.items || result[originalListAction.recordsField],
                                  "TotalRecordCount": result.totalCount,
                                  originalResult: result
                              });
                          })
                          .fail(function (error) {
                              self._handlerForFailOnAbpRequest($dfd, error);
                          });
                  });
              };
          }
docs: LIST ACTION ADAPTER