Exemplo n.º 1
0
        public async Task <IEnumerable <AuctionDto> > GetCurrentAuctions(int id)
        {
            var auctions = (await AuctionFacade.GetCurrentAuctionsAsync(DateTime.Now));

            foreach (var auction in auctions)
            {
                auction.Id = 0;
            }
            return(auctions);
        }