Beispiel #1
0
        public ActionResult Create(Forum forum)
        {
            try
            {
                // TODO: Add insert logic here

                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }
        }
Beispiel #2
0
 // GET: Admin/ForumAdmin/Create
 /// <summary>
 /// Creates this instance.
 /// </summary>
 /// <returns></returns>
 public ActionResult Create()
 {
     Forum forum = new Forum();
     return View(forum);
 }