Ejemplo n.º 1
0
 public ActionResult DeleteCustomer(string id)
 {
     //删除数据
     string strErrText;
     CustomerSystem customer = new CustomerSystem();
     if (customer.DeleteCustomer(long.Parse(id), LoginAccountId, LoginStaffName, out strErrText))
     {
         return Json(string.Empty);
     }
     else
     {
         return Json(strErrText);
     }
 }