public async Task <IActionResult> Index() { string userName = User.Identity.Name; string destinyMembershipId = await Destiny2BungieHelper.GetDestiny2MembershipIdByGamerTag(userName, _BungieApi.Value.apiKey); Profile profile = new Profile(); profile = await Destiny2BungieHelper.GetDestiny2ProfilById(profile, destinyMembershipId, _BungieApi.Value.apiKey); List <Character> characters = new List <Character>(); characters = await Destiny2BungieHelper.GetDestiny2CaracteresById(profile, characters, _BungieApi.Value.apiKey); characters.ForEach(x => x.GamerTag = profile.Data.UserInfo.displayName); profile.Characteres = characters; Group group = new Group(); group = await Destiny2BungieHelper.GetDestiny2ClanByUser(profile, group, _BungieApi.Value.apiKey); profile.Clan = group; var test = ManifestHelper.LoadManifest(_BungieApi.Value.apiKey); //foreach(var charac in characters) //{ // await Destiny2BungieHelper.GetDestiny2ActivitiesDoneByCharacterId(charac, _BungieApi.Value.apiKey); //} return(View(profile)); }