/**
  * @Route("/{_locale}/project/deleteProject/{id}",name="deleteProject")
  */
 public function deleteProjectAction(Request $request, $id)
 {
     $encryption = new Encryption();
     $message = "";
     $model = new ProjectModel($this->getDoctrine()->getEntityManager());
     try {
         $model->mettrePoubelle($encryption->decode($id));
         $message = "succed";
     } catch (Exception $ex) {
         $message = $ex->getMessage();
     }
     return new Response($message);
 }