Beispiel #1
0
        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));
        }
Beispiel #2
0
        public ActionResult Enter(int id)
        {
            var model = new HuntModel();

            return(View(model));
        }