public bool PlaceBid(clientRef.Bid bidToPlace)
        {
            bool allOk = false;

            proxyRef.Bid bidInServiceFormat = new ConvertDataBid().ConvertToServiceBid(bidToPlace);
            using (proxyRef.BidServiceClient bidProxy = new proxyRef.BidServiceClient()) {
                allOk = bidProxy.PlaceBid(bidInServiceFormat);
            }
            return(allOk);
        }
        public List <clientRef.Bid> GetClientSideBids(IEnumerable <proxyRef.Bid> bids)
        {
            List <clientRef.Bid> foundBidsList = new List <clientRef.Bid>();

            clientRef.Bid tempBid;

            foreach (var bid in bids)
            {
                tempBid = new clientRef.Bid(bid.BidAmount, bid.CustomerId, bid.AuctionId);
                foundBidsList.Add(tempBid);
            }
            return(foundBidsList);
        }