Ejemplo n.º 1
0
        public void TestFeaturedGames()
        {
            var riotApi = new RiotGamesApi(_apiKey);
            //
            var games = riotApi.GetFeaturedGames();

            Assert.IsNotNull(games);
        }
Ejemplo n.º 2
0
        public ActionResult FeaturedGames()
        {
            IRiotGamesApi riot  = new RiotGamesApi(_apikey);
            var           games = riot.GetFeaturedGames();

            // SummonerViewModel summonerVm = _mapper.Map<SummonerViewModel>(summoner);

            return(View(games));
        }