예제 #1
0
        public ActionResult Comment(int postId, string commentBody)
        {
            _postCommentService.Add(UserHelper.UserId.Value, postId, commentBody);

            return(RedirectToAction(nameof(Index), "Read", new { postId = postId }));
        }