private async Task <List <ListingCard> > Craigslist() { List <ListingCard> listingCards = new List <ListingCard>(); List <CraigslistListing> listings = await manager.GetCraigslist(); if (listings != null) { foreach (CraigslistListing listing in listings) { listingCards.Add(new ListingCard() { id = listing.id, title = listing.title, description = "", condition = "", price = listing.price, published_at = DateTime.Parse(listing.post_date), photo = listing.photo, listingLink = listing.link, resourcePhoto = "craigslist.png" }); } } return(listingCards); }