Esempio n. 1
0
        public Bid Close(Auction auction)
        {
            auction.Close();

            return(auction.WinningBid);
        }
Esempio n. 2
0
 public IEnumerable <Bid> GetBids(Auction auction)
 {
     return(auction.Bids);
 }
Esempio n. 3
0
 public void PlaceBid(Auction auction, Bid bid)
 {
     auction.PlaceBid(bid);
 }
Esempio n. 4
0
 public Bid GetHighestBid(Auction auction)
 {
     //Consider return BidDto for public API
     return(auction.HighestBid);
 }