public static void AddBid(BannerBid bid, BannerAuction auction, Member user) { //Add new bid bid.Save(); //Make history History.AddBidPlaced(user.Name, bid.BidValue.ToString()); //Refund previous bid (if needed) BannerBid bidToRefund = null; bidToRefund = auction.GetHighestBid(DisplayedNormalBannerNumber + 1); if (bidToRefund != null) { RefundBid(bidToRefund); //Earning statistics HandleEarningStats(bid, auction, bidToRefund); } }