Esempio n. 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);
 }
Esempio n. 2
0
 public ActionResult GetCustomers(string FieldName, string KeyWord)
 {
     CustomerBusinessService cbs = new CustomerBusinessService();
     return Json(cbs.GetCustomers(FieldName, KeyWord).Customers);
 }