Exemple #1
0
        private string PaymentTypeDelete(int paymentid)
        {
            paymenttype_Prop paymenttypeprop = new paymenttype_Prop();

            paymenttypeprop.Paymentid = paymentid;
            paymenttype_bal paymenttypebal = new paymenttype_bal();
            string          strMsg         = paymenttypebal.PaymentTypeDelete(paymenttypeprop);

            if (paymenttypebal.ErrMessage != "" && paymenttypebal.ErrMessage != null)
            {
                return(paymenttypebal.ErrMessage);
            }
            else
            {
                return(strMsg);
            }
        }