public ActionResult ReturnDispatch(string id) { string strMessage; StatisticsSystem stat = new StatisticsSystem(); bool bSuccess = stat.ReturnDispatchDeliverBill(long.Parse(id), LoginAccountId, LoginStaffName, out strMessage); var ret = new { Success = bSuccess, Message = strMessage }; return Json(ret); }