public function getEstimationsNgAction(Request $request)
 {
     $em = $this->getDoctrine()->getManager();
     $response = new Response(json_encode(array("result" => Estimation::getEstimations($em, $request->query->all(), true))));
     $response->headers->set('Content-Type', 'application/json');
     return $response;
 }