private async Task NotifyLobbyAboutLeave(Guid playerId) { Guid lobbyId = playerRegistry.GetLobbyIdByPlayerId(playerId); if (playerRegistry.GetPlayerAmountForLobby(playerId) > 1) { await lobbyHubContext.Clients.Group(lobbyId.ToString()).PlayerLeavedLobby(playerId); } }