public async Task <IActionResult> AddComment(ArticleViewModel articleComment) { var mappedEntity = mapper.Map <CommentViewModel, Comment>(articleComment.Comment); mappedEntity.ArticleId = articleComment.Id; mappedEntity.CommenterName = userIdentity.GetName(); await commentService.AddComment(mappedEntity); return(RedirectToAction("Article", new { id = articleComment.Id })); }