public ActionResult RemoveComment(int id) { bool isTrue = repository.RemoveComment(id); if (isTrue) { return(RedirectToAction("Index", "Home", null)); } else { return(View("RemoveCommentError")); } }