private function deleteRating()
    {
        $userId = $this->getUser()->getId();
        $ratingId = $this->getRatingIdFromRequest();

        if ($ratingId) {
            $userRatingBridge = $this->getContainer()->get(UserRatingBridgeInterface::class);
            $userRatingBridge->deleteRating($userId, $ratingId);
        }
    }