public ActionResult Enter(int id, HuntModel model) { if (ModelState.IsValid) { try { ViewBag.HuntAccepted = HuntUtil.HuntIsValid(model.Id); } catch (Exception ex) { throw ex; } } //Show the success view return(View(model)); }
public ActionResult Enter(int id) { var model = new HuntModel(); return(View(model)); }