示例#1
0
 public JsonResult GetPaymentType()
 {
     try
     {
         return(Json(new SelectList(_enumService.PaymentType(), "Value", "Text"), JsonRequestBehavior.AllowGet));
     }
     catch
     {
         return(null);
     }
 }