Exemple #1
0
        public string RecordSelect(string UserName)
        {
            DllPromoCode objDal = new DllPromoCode();

            try
            {
                return(objDal.SelectPromoCode(UserName));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Exemple #2
0
        public string RecordInsert(PropPromoCode objProperty)
        {
            DllPromoCode objDal = new DllPromoCode();

            try
            {
                return(objDal.InsertPromoCode(objProperty));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Exemple #3
0
        public int RecordUpdate(PropPromoCode objProperty)
        {
            DllPromoCode objDal = new DllPromoCode();

            try
            {
                return(objDal.UpdatePromoCode(objProperty));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }