Beispiel #1
0
        public ActionResult Create(Post post)
        {
            try
            {
                // TODO: Add insert logic here
                Post.AddNewPost(post);

                return(RedirectToAction("Index"));
            }
            catch
            {
                return(View());
            }
        }