public function deleteCommentAction(Request $request, $commentId, $articleNumber = null, $languageCode = null)
{
$commentService = $this->container->get('comment');
$em = $this->container->get('em');
$comment = $em->getRepository('Newscoop\\Entity\\Comment')->getComment($commentId, false)->getOneOrNullResult();
if (!$comment) {
throw new EntityNotFoundException('Result was not found.');
}
$commentService->remove($comment);
}