コード例 #1
0
        public ActionResult DeleteConfirmed(int?id)
        {
            Comment comment = Dashboard.GetCommentById(id.Value);

            Dashboard.ArchiveComment(id.Value, HttpContext.User.Identity.Name);
            return(RedirectToAction("Index", new { id = comment.IssueId }));
        }