コード例 #1
0
        public ActionResult RemoveComment(int id)
        {
            bool isTrue = repository.RemoveComment(id);



            if (isTrue)
            {
                return(RedirectToAction("Index", "Home", null));
            }
            else
            {
                return(View("RemoveCommentError"));
            }
        }