Exemplo n.º 1
0
        public async Task PushMoveAsync(Location from, Location to)
        {
            var pieceMove = new MovePieceRequestDto
            {
                From = new LocationDto {
                    Column = from.Column, Row = from.Row
                },
                To = new LocationDto {
                    Column = to.Column, Row = to.Row
                }
            };

            await movementService.MovePieceAsync(gameId, pieceMove);
        }