/**
  * create
  */
 public function create()
 {
     $res = new Reponse();
     $data = $this->requete->params;
     if ($data['callback']) {
         $res->callback = true;
     }
     if ($this->person) {
         $data['person'] = $this->person;
     }
     $rec = new \Object\Reservation();
     $formattedData = \Object\Reservation::formatData($data);
     $result = $rec->updateData($formattedData);
     if ($result instanceof \Object\Reservation) {
         $res->success = true;
         $res->message = "TXT_CREATE_OK";
         $res->data = $result->toArray();
         $res->debug = $formattedData;
     } else {
         $res->message = "TXT_CREATE_ERROR";
         $res->data = $result;
         $res->debug = $formattedData;
     }
     return $res;
 }