code: function () {
              var self = this;
              var originalCreateAction = self.options.actions.createAction;
              self.options.actions.createAction = function (postData) {
                  return $.Deferred(function ($dfd) {
  
                      var input = $.extend({}, postData);
  
                      originalCreateAction.method(input)
                          .done(function (result) {
                              $dfd.resolve({
                                  "Result": "OK",
                                  "Record": originalCreateAction.recordField ? result[originalCreateAction.recordField] : result,
                                  originalResult: result
                              });
                          })
                          .fail(function (error) {
                              self._handlerForFailOnAbpRequest($dfd, error);
                          });
                  });
              };
          }
docs: CREATE ACTION ADAPTER