public async Task <FileContentResult> GetAsync(string name)
        {
            List <Achievement> achievements = await _wiki.CreateWikiPart();

            int maxMatch = achievements.Max(a => FuzzyMatchImageName(name, a.Name));

            byte[] image = achievements.Find(a => FuzzyMatchImageName(name, a.Name) == maxMatch)?.Image;
            return(image != null
                ? new FileContentResult(image, "image/jpeg")
                : null);
        }
        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);
        }