Beispiel #1
0
 public ActionResult GetCustomers2(FormCollection postedFormData)
 {
     CustomerBusinessService cbs = new CustomerBusinessService();
     string FieldName = Convert.ToString(postedFormData["FieldName"]);
     string KeyWord = Convert.ToString(postedFormData["KeyWord"]);
     return Json(cbs.GetCustomers(FieldName, KeyWord).Customers);
 }
Beispiel #2
0
 public ActionResult GetCustomers(string FieldName, string KeyWord)
 {
     CustomerBusinessService cbs = new CustomerBusinessService();
     return Json(cbs.GetCustomers(FieldName, KeyWord).Customers);
 }