Example #1
0
        public async Task <string> GetPlayers(string gameName)
        {
            GameService service = new GameServiceImpl();
            var         result  = await service.GetPlayersByGame(gameName);

            return(JsonConvert.SerializeObject(result));
        }
Example #2
0
        public async Task <ActionResult> Bank(string gameName)
        {
            GameService service = new GameServiceImpl();

            return(View(await service.GetPlayersByGame(gameName)));
        }