public async Task CreateNewGame() { var game = _gameEngineService.AddGame(); await Groups.AddToGroupAsync(Context.ConnectionId, game.Code); _groupStore.AddGroupHost(game.Code, Context.ConnectionId); await Clients.Caller.SendAsync(ClientMethods.OnCodeSet, game.Code); }