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