public AuctionItemBiddingModel(AuctionItemBidding auctionItemBidding)
 {
     Bidding             = auctionItemBidding.Bidding;
     Date                = auctionItemBidding.Date;
     BiddingName         = auctionItemBidding.BiddingName;
     BiddingStreet       = auctionItemBidding.BiddingStreet;
     BiddingHouseNumber  = auctionItemBidding.BiddingHouseNumber;
     BiddingZipCode      = auctionItemBidding.BiddingZipCode;
     BiddingCity         = auctionItemBidding.BiddingCity;
     BiddingEmail        = auctionItemBidding.BiddingEmail;
     BiddingPhoneNumber  = auctionItemBidding.BiddingPhoneNumber;
     BiddingMobileNumber = auctionItemBidding.BiddingMobileNumber;
 }
        public AuctionItemBidding ToDalEntity(int auctionItemId)
        {
            var result = new AuctionItemBidding();

            result.Date                = DateTime.Now;
            result.AuctionItemId       = auctionItemId;
            result.Bidding             = Bidding;
            result.BiddingName         = BiddingName;
            result.BiddingStreet       = BiddingStreet;
            result.BiddingHouseNumber  = BiddingHouseNumber;
            result.BiddingZipCode      = BiddingZipCode;
            result.BiddingCity         = BiddingCity;
            result.BiddingEmail        = BiddingEmail;
            result.BiddingPhoneNumber  = BiddingPhoneNumber;
            result.BiddingMobileNumber = BiddingMobileNumber;

            return(result);
        }