public async Task<SummonerLeagueItemsDTO> GetMyLeaguePositions() { int Id = Invoke("leaguesServiceProxy", "getMyLeaguePositions", new object[] { }); while (!results.ContainsKey(Id)) await Task.Delay(10); TypedObject messageBody = results[Id].GetTO("data").GetTO("body"); SummonerLeagueItemsDTO result = new SummonerLeagueItemsDTO(messageBody); results.Remove(Id); return result; }/*
/// 7.) public void GetMyLeaguePositions(SummonerLeagueItemsDTO.Callback callback) { SummonerLeagueItemsDTO cb = new SummonerLeagueItemsDTO(callback); InvokeWithCallback("leaguesServiceProxy", "getMyLeaguePositions", new object[] { }, cb); }