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