/*
  * Obtenir une intervention *
  */
 @RequestMapping(value = "/interventions/{idProjet}/{idCollaborateur}", method = RequestMethod.GET)
 public Reponse getIntervention(
     @PathVariable("idProjet") Long idProjet,
     @PathVariable("idCollaborateur") Long idCollaborateur) {
   try {
     return new Reponse(0, interventionMetier.getIntervention(idProjet, idCollaborateur));
   } catch (Exception e) {
     return new Reponse(1, ExceptionHelpers.getErreursForException(e));
   }
 }
 /*
  * definir intervantion (par un Evaluateur) *
  */
 @RequestMapping(
     value = "/interventions/{idProjet}/{idCollaborateur}",
     method = RequestMethod.PUT,
     consumes = "application/json; charset=UTF-8")
 public Reponse defineIntervention(
     @PathVariable("idProjet") Long idProjet,
     @PathVariable("idCollaborateur") Long idCollaborateur,
     @RequestBody Intervention intervention) {
   try {
     intervention.setIdIntervention(
         interventionMetier.getIntervention(idProjet, idCollaborateur).getIdIntervention());
     interventionMetier.defineIntervention(intervention);
   } catch (LambdaException e) {
     return new Reponse(1, ExceptionHelpers.getErreursForException(e));
   }
   return new Reponse(0, PropretiesHelper.getText("intervention.update.success"));
 }