protected function GenerateResponse() { try { $this->response = EfectivoController::EliminarBillete(isset($_GET['id_billete']) ? $_GET['id_billete'] : null); } catch (Exception $e) { //Logger::error($e); throw new ApiException($this->error_dispatcher->invalidDatabaseOperation($e->getMessage())); } }