Exemplo n.º 1
0
        public ActionResult DeletePost(int id)
        {
            var ops = new BlogPostOperations();
            ops.DeletePost(id);

            return RedirectToAction("Index", "Home");
        }