Beispiel #1
0
        public ActionResult Create(GameCreateModel parameters)
        {
            var _teamLogic = new TeamLogic();

            ViewBag.Teams = _teamLogic.GetAll(new BL.Models.Core.Filter()).Output;
            var opResult = _gameLogic.Add(parameters);

            if (opResult.IsSuccess)
            {
                return(RedirectToAction("index"));
            }
            return(View(parameters));
        }