コード例 #1
0
        private string PaymentTypeInsert(string paymenttype)
        {
            paymenttype_Prop paymenttypeprop = new paymenttype_Prop();

            paymenttypeprop.PaymentType = paymenttype;
            paymenttype_bal paymenttypebal = new paymenttype_bal();
            string          strMsg         = paymenttypebal.PaymentTypeInsert(paymenttypeprop);

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