Exemplo n.º 1
0
        //Offer

        public OfferBLL FindOfferByID(int OfferID)
        {
            OfferBLL ProposedReturnValue = null;
            OfferDal DataLayerObject     = _context.FindOfferByID(OfferID);

            if (null != DataLayerObject)
            {
                ProposedReturnValue = new OfferBLL(DataLayerObject);
            }
            return(ProposedReturnValue);
        }
Exemplo n.º 2
0
 public OfferBLL(OfferDal dal)
 {
     this.offerID       = dal.offerID;
     this.ProductID     = dal.ProductID;
     this.BuyerID       = dal.BuyerID;
     this.Offerprice    = dal.Offerprice;
     this.offerstate    = dal.offerstate;
     this.ExpireDate    = dal.ExpireDate;
     this.Comments      = dal.Comments;
     this.ProductName   = dal.ProductName;
     this.BuyerName     = dal.ProductName;
     this.EmailAdderess = dal.ProductName;
 }