public ActionResult GetpackageNumberTwo(int packageId, int userId) { Sql_PackageCode code; var result = PackageBll.GetPackageNumber(packageId, userId, out code); var data = new { data = result, code = code }; return(Json(data, JsonRequestBehavior.AllowGet)); }
public ActionResult GetpackageNumber(int packageId, int userId) { var data = PackageBll.GetPackageNumber(packageId, userId); return(Json(data, JsonRequestBehavior.AllowGet)); }