public Response AddApplication(string scope, ScopeApplication application) { try { return(_adapterProvider.AddApplication(scope, application)); } catch (Exception ex) { //return PrepareErrorResponse(ex); return(PrepareErrorResponse(ex, ErrorMessages.errAddNewApplication)); } }