Before Marionette 2.1, the Controller had another use, which was a general-purpose, white-label object. This was confusing given its other use within the Router, and its name, which carries so much meaning in the context of MVC frameworks.
As of v2.1, a new Class is available for your use: Marionette.Object. We recommend using Marionette.Object instead of Marionette.Controller in all situations outside of the Router.
onSuccess: function() {
this.ui.upload.show();
this.ui.edit.show();
this.ui.proceed.show();
this.ui.actions.show();
},
onError: function() {
this.ui.upload.show();
this.ui.edit.hide();
this.ui.proceed.hide();
this.ui.actions.hide();
}