Exemple #1
0
 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);
     }
 }
Exemple #2
0
 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("");
     }
 }