예제 #1
0
        public ActionResult ApprovePost(int id)
        {
            var ops = new BlogPostOperations();

            ops.SetPostTo1(id);

            return(RedirectToAction("DisplayPostsWithStatus0"));
        }