예제 #1
0
        public ActionResult ReplyToComment(int parentCommentId, Comment newComment, string gameKey, string quote)
        {
            if (quote != null && quote != String.Empty)
            {
                newComment.IsQuote = true;
            }

            _commentManager.AddReplyToComment(newComment, parentCommentId, gameKey);

            return(RedirectToAction("GetAllCommentsByGameKey", "Comment", new { gameKey }));
        }