public async Task <Dictionary <string, IEnumerable <BidViewModel> > > GetAllBids() { var bidDictionary = new Dictionary <string, IEnumerable <BidViewModel> >(); foreach (AuctionHouseElement auction in config.AuctionHouses) { Auctions.SetAuction(auction); bidDictionary.Add(auction.Name, (await _bidService.GetBidsAsync()).Select(c => Mapper.Map <BidViewModel>(c))); } return(bidDictionary); }