protected function GenerateResponse() { try { $this->response = POSController::RespaldoBorrarBd(isset($_POST['id_instacia']) ? $_POST['id_instacia'] : null, isset($_POST['time']) ? $_POST['time'] : null); } catch (Exception $e) { //Logger::error($e); throw new ApiException($this->error_dispatcher->invalidDatabaseOperation($e->getMessage())); } }