public function addCommentVideo(Comment $comment, $videoId) { $video = $this->videoManager->findVideoByPk($videoId); $comment->setVideoId($video); return $this->repository->addComment($comment); }