public async Task OnGetAsync(string sort, string version, string difficulty, bool?achieved) { Achievements = await _wiki.CreateWikiPart(); await _steam.AttachPercentageToAchievements(Achievements); if (SteamSignedIn = await _steam.Authenticate(HttpContext)) { try { await _steam.AttachCompletionToAchievements(Achievements); SteamAchievementsException = false; } catch (Exception) { SteamAchievementsException = true; } } FilterAchievements(version, difficulty, achieved); SortAchievements(sort); }