Beispiel #1
0
        public ActionResult Edit(int?id)
        {
            if (id == null)
            {
                return(Json(
                           new OperateResult
                {
                    content = "访问错误",
                },
                           JsonRequestBehavior.AllowGet
                           ));
            }

            OperateResult or = PerformanceManager.GetById(id.Value);

            return(View(or.data));
        }