public override async Task OnDisconnectedAsync(Exception exception) { var lobbyId = GetLobbyId(); await Groups.RemoveFromGroupAsync( Context.ConnectionId, lobbyId ); await _lobbyService.RemovePlayerAsync(lobbyId, GetUserId()); await base.OnDisconnectedAsync(exception); }