コード例 #1
0
        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));
        }
コード例 #2
0
        public ActionResult GetpackageNumber(int packageId, int userId)
        {
            var data = PackageBll.GetPackageNumber(packageId, userId);

            return(Json(data, JsonRequestBehavior.AllowGet));
        }