public double GetHighestBidOnAuction(int auctionId) { AuctionService aS = new AuctionService(); double hBid = aS.GetHighestBidOnAuction(auctionId); if (hBid == 0) { Auction auction = aS.GetAuction(auctionId); hBid = auction.StartPrice; } return(hBid); }
public Auction GetAuction(int auctionId) { AuctionService aS = new AuctionService(); return(aS.GetAuction(auctionId)); }