Пример #1
0
        //AuctionBiddingResult
        public BiddingResult CurrentAuctionBiddingResult(long auction_id, long?user_id, decimal price)
        {
            BiddingResult br = new BiddingResult(price);

            br.WinningBid  = GetTopBidForItem(auction_id);
            br.UsersTopBid = user_id.HasValue ? GetUserTopBidForItem(auction_id, user_id.Value, true) : null;
            return(br);
        }
Пример #2
0
 //AuctionBiddingResult
 public BiddingResult CurrentAuctionBiddingResult(long auction_id, long? user_id, decimal price)
 {
   BiddingResult br = new BiddingResult(price);
   br.WinningBid = GetTopBidForItem(auction_id);
   br.UsersTopBid = user_id.HasValue ? GetUserTopBidForItem(auction_id, user_id.Value, true) : null;
   return br;
 }