public Class<? extends ViewConfig> save() { repo.saveAndFlush(selected); reportModEvent.fire(new ExpenseReportController.Modified()); msg.addInfo().allChangesSaved(); return viewStack.pop(); }
public void delete(Expense expense) { repo.remove(expense); reportModEvent.fire(new ExpenseReportController.Modified()); msg.addInfo().itemDeleted(); }