public DataTable PaymentTypeSearch(paymenttype_Prop paymenttypeprop) { try { paymenttypedal = new paymenttype_dal(); DataTable dt = paymenttypedal.PaymentTypeSearch(paymenttypeprop); return(dt); } catch (Exception e) { ErrMessage = e.Message; return(null); } }
public string PaymentTypeDelete(paymenttype_Prop paymenttypeprop) { try { paymenttypedal = new paymenttype_dal(); string strMsg = paymenttypedal.PaymentTypeDelete(paymenttypeprop); return(strMsg); } catch (Exception e) { ErrMessage = e.Message; return(""); } }