Ejemplo n.º 1
0
        public ActionResult DeleteBlog(int BlogId)
        {
            string message = "";

            if (InformationService.DeleteBlog(BlogId, out message))
            {
                return(RedirectToAction("BlogsList"));
            }
            else
            {
                return(RedirectToAction("DeleteBlog", new { BlogId = BlogId, message = message }));
            }
        }