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