Esempio n. 1
0
        public ActionResult EditComment(Comment comment)
        {
            string message = "";

            if (InformationService.EditComment(comment, out message))
            {
                return(RedirectToAction("CommentsList"));
            }
            else
            {
                return(RedirectToAction("EditComment", new { comment = comment, message = message }));
            }
        }