public function deleteComment($id) { $comment = $this->getCommentById($id); $comment->delete(); return $comment; }