public async Task <IList <ConcertDescriptionResponseModel> > GetTrendingConcerts(int userId) { var concerts = await _concertRepository.GetAll(); var venues = (await _venueRepository.GetAll()).ToDictionary(x => x.Id); var myWishlist = (await _wishlistRepository.GetUserWhishlistAsync(userId)).ToDictionary(x => x.ConcertId); return(concerts.Select(x => new ConcertDescriptionResponseModel { Date = x.ConcertDate, Duration = "TBD", Id = x.Id, Name = x.Name, VenueName = venues[x.Id].VenueName, AddedToWishlist = myWishlist.ContainsKey(x.Id) }).ToList()); }