public async Task <PeerToPeerSessionState> StartNewSessionAsync(string hostConnectionId) { //fallback afer 1000 tries if game is super popular :) string code = await GenerateCode() ?? hostConnectionId; PeerToPeerSessionState session = new PeerToPeerSessionState() { HostConnectionId = hostConnectionId, Code = code }; return(await _storage.AddP2PSessionAsync(session)); }