public bool UpdateBid(Bid aBidToUpdate)
        {
            bool wasUpdatedCorrectly;

            BidAccess bidDb = new BidAccess();

            wasUpdatedCorrectly = bidDb.UpdateBid(aBidToUpdate);
            return(wasUpdatedCorrectly);
        }
        public Bid GetBidById(int bidId)
        {
            Bid foundBid;

            BidAccess bidDb = new BidAccess();

            foundBid = bidDb.GetBidById(bidId);

            return(foundBid);
        }
        public List <Bid> GetAllBids(int auctionId)
        {
            List <Bid> foundBids;

            BidAccess bidDb = new BidAccess();

            foundBids = bidDb.GetAllBids(auctionId);

            return(foundBids);
        }
        public bool InsertBid(Bid bidToInsert)
        {
            bool wasInsertedCorrectly;

            BidAccess bidDb = new BidAccess();

            wasInsertedCorrectly = bidDb.SaveBid(bidToInsert);

            return(wasInsertedCorrectly);
        }