Example #1
0
        public int UpdateCouponsCustomer(IDbTransaction tran, uint uiId, string strDescription, string strAddress,
                                         string strCity, string strZipcode, string strEmail, string strTelephone)
        {
            CmpMoneyOffCouponsCustomersDB cmpCouponCustomer = new CmpMoneyOffCouponsCustomersDB();

            return(cmpCouponCustomer.UpdateCouponsCustomer(tran, uiId, strDescription, strAddress, strCity, strZipcode, strEmail, strTelephone));
        }
Example #2
0
        public int InsertCouponsCustomer(IDbTransaction tran, string strDescription, string strAddress,
                                         string strCity, string strZipcode, string strEmail, string strTelephone, ref uint uiId)
        {
            CmpMoneyOffCouponsCustomersDB cmpCouponCustomer = new CmpMoneyOffCouponsCustomersDB();

            uiId = cmpCouponCustomer.GetMaximumPk(tran);

            return(cmpCouponCustomer.InsertCouponsCustomer(tran, uiId, strDescription, strAddress, strCity, strZipcode, strEmail, strTelephone));
        }