Exemplo n.º 1
0
        public ActionResult Reply(int idProduct, string content, int idParent)
        {
            int id = UserHelper.GetUserByUserID(HttpContext.User.Identity.Name).ID;

            CommentHelper.AddComment(idProduct, id, content, idParent);
            return(Redirect("/Product/Detail/" + idProduct.ToString() + "#newComment"));
        }