use of com.axelor.apps.talent.db.Appraisal in project axelor-open-suite by axelor.
the class AppraisalController method send.
public void send(ActionRequest request, ActionResponse response) {
Appraisal appraisal = request.getContext().asType(Appraisal.class);
try {
appraisal = Beans.get(AppraisalRepository.class).find(appraisal.getId());
Beans.get(AppraisalService.class).send(appraisal);
response.setReload(true);
} catch (Exception e) {
TraceBackService.trace(response, e);
}
}
Aggregations