private List <ListingCard> Reverb() { List <ListingCard> listingCards = new List <ListingCard>(); List <Listing1> liveListings = manager.GetReverb("https://api.reverb.com/api/listings?query=guild s4ce"); foreach (Listing1 listing in liveListings) { listingCards.Add(new ListingCard() { id = listing.id.ToString(), title = listing.title, description = listing.description, condition = listing.condition.display_name, price = listing.price.amount, published_at = listing.published_at, photo = listing.photos.Select(p => p._links.large_crop.href).FirstOrDefault(), listingLink = "https://reverb.com/item/" + listing.id.ToString(), resourcePhoto = "reverb.png" }); } return(listingCards); }