Example #1
0
        public ResponseJson GetGamePlayersMove(int idGame)
        {
            GameMove gameMove = new GameMove {
                IdGame = idGame
            };
            ServiceExe service = new ServiceExe(gameMove);

            return(service.Get());
        }
Example #2
0
        public ResponseJson GetGameDetailScore(int idPlayer)
        {
            Game game = new Game {
                PlayerOne = new Player {
                    Id = idPlayer
                }
            };
            ServiceExe service = new ServiceExe(game);

            return(service.Get());
        }
Example #3
0
        public ResponseJson GetPlayersGame()
        {
            ServiceExe service = new ServiceExe(new Player());

            return(service.Get());
        }
Example #4
0
        public ResponseJson GetMoves()
        {
            ServiceExe service = new ServiceExe(new Move());

            return(service.Get());
        }