예제 #1
0
 public ActionResult GetDatastructureAsJSON2(long id)
 {
     return(new ContentResult()
     {
         Content = OutputDataStructureManager.GetDataStructureAsJson(id), ContentType = "application/json"
     });
 }
예제 #2
0
 public ActionResult GetDatastructureAsJSON(long id)
 {
     return(Json(OutputDataStructureManager.GetDataStructureAsJson(id), JsonRequestBehavior.AllowGet));
 }
예제 #3
0
 public ActionResult GetDatastructureAsJSON(long id)
 {
     return(Json(OutputDataStructureManager.GetDataStructureAsJson(id), "application/json", System.Text.Encoding.UTF8, JsonRequestBehavior.AllowGet));
 }