}
@Override
public void updateMoti(Motivation MotivEdit, Integer id, Integer appID) {
Integer motiID = null;
Motivation motiformNew = MotivEdit;
Motivation motiformOld = null;
List<Application> allApp = app.findAll();
for (Application eachApp : allApp) {
if (eachApp.getAccountIdaccount().getIdaccount().equals(id)) {
if (eachApp.getIdapplication().equals(appID)) {
eachApp.setMotivationcomplete(1);