public Int64 Update(offers objoffers)
        {
            Int64 result = 0;

            try
            {
                Cls_offers_db objCls_offers_db = new Cls_offers_db();
                result = Convert.ToInt64(objCls_offers_db.Update(objoffers));
                return(result);
            }
            catch (Exception ex)
            {
                ErrHandler.writeError(ex.Message, ex.StackTrace);
                return(result);
            }
        }
        public offers SelectById(Int64 offerid)
        {
            offers objoffers = new offers();

            try
            {
                Cls_offers_db objCls_offers_db = new Cls_offers_db();
                objoffers = objCls_offers_db.SelectById(offerid);
                return(objoffers);
            }
            catch (Exception ex)
            {
                ErrHandler.writeError(ex.Message, ex.StackTrace);
                return(objoffers);
            }
        }