示例#1
0
 public static JsonResult JsonNoLoop(this Controller controller, object data, string contentType, JsonRequestBehavior behavior)
 {
     return(controller.JsonNoLoop(data, contentType, (Encoding)null, behavior));
 }
示例#2
0
 public static JsonResult JsonNoLoop(this Controller controller, object data)
 {
     return(controller.JsonNoLoop(data, (string)null, (Encoding)null, JsonRequestBehavior.DenyGet));
 }
示例#3
0
 public static JsonResult JsonNoLoop(this Controller controller, object data, string contentType, Encoding contentEncoding)
 {
     return(controller.JsonNoLoop(data, contentType, contentEncoding, JsonRequestBehavior.DenyGet));
 }