Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 2
0
        // GET: Game
        public ActionResult Index()
        {
            var game = new GameViewModels();

            return(View(game.LeagueTable));
        }
Ejemplo n.º 3
0
        // GET: Score
        public ActionResult Index()
        {
            var model = new GameViewModels();

            return(View(model.LeagueTable));
        }