Ejemplo n.º 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);
     }
 }
Ejemplo n.º 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("");
     }
 }