コード例 #1
0
        public ActionResult Get(uint id)
        {
            if (!Authentication.IsValid())
            {
                return(Json(new { Error = "Not Authenticated" }));
            }
            JsonResult json = Json(new { Object = ScheduleDAO.GetById(id) });

            json.MaxJsonLength = int.MaxValue;
            return(json);
        }