public ActionResult Index(Match match) { //match.Result = (TypeOfResult) Enum.Parse(typeof (TypeOfResult), result); [ModelBinder(typeof(MatchModelBinder))] _db.NhlTableGeneration(match); return(RedirectToAction("Index", "Standings")); }