public async Task <IActionResult> Join([FromBody] JoinGameSessionRequest request) { _logger.LogInformation("Received request to create player {PlayerName} and join game with code {JoinCode}", request.PlayerName, request.JoinCode); var joinGameResponse = await _gameSessionService.JoinNewPlayerToGameAsync(request.PlayerName, request.JoinCode); return(Ok(joinGameResponse)); }