public static FormatJsonResult JsonFormat(this Controller c , object data , JsonRequestBehavior behavior = JsonRequestBehavior.DenyGet) { FormatJsonResult result = new FormatJsonResult(); result.Data = data; result.JsonRequestBehavior = behavior; return result; }
public static FormatJsonResult JsonFormat(this Controller c , object data , JsonRequestBehavior behavior = JsonRequestBehavior.DenyGet) { FormatJsonResult result = new FormatJsonResult(); result.Data = data; result.JsonRequestBehavior = behavior; return(result); }