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