public async Task OnInit() { Leagues = null; Leagues = await poeApiClient.Fetch <League>(); if (string.IsNullOrEmpty(configuration.LeagueId)) { configuration.LeagueId = Leagues.FirstOrDefault().Id; configuration.Save(); } }
public async Task OnInit() { Categories = null; Categories = await poeApiClient.Fetch <AttributeCategory>(); }
public async Task OnInit() { Categories = null; Categories = await poeApiClient.Fetch <StaticItemCategory>(); }