private void LoadWishlistPrices(SteamUserDetails userDetails) { List <Pricing> prices = _steamApi.GetAppPrices(userDetails.Wishlist.Select(x => x.ID)); foreach (StoreApp app in userDetails.Wishlist) { app.Pricing = prices.SingleOrDefault(x => x.AppID == app.ID); } }