public ActionResult PlayerScores(int?ID) { if (ID == null) { return(HttpNotFound()); } var model = new GameViewModels(); var psvm = model.GetPlayerScoresViewModel((int)ID); if (psvm == null) { return(HttpNotFound()); } return(View(psvm)); }
// GET: Game public ActionResult Index() { var game = new GameViewModels(); return(View(game.LeagueTable)); }
// GET: Score public ActionResult Index() { var model = new GameViewModels(); return(View(model.LeagueTable)); }