Пример #1
0
        public ActionResult DeleteStaticPost(PostVM postVM)
        {
            BlogManager manager = BlogManagerFactory.Create();

            manager.DeleteStaticPost(postVM.Post.StaticPostId);

            return(RedirectToAction("ViewStaticPosts"));
        }