Exemple #1
0
        public static string GetResult(string message, statusCode.Code code, string result = "")
        {
            ajaxResult ar = new ajaxResult();

            ar.StatusCode = code;
            ar.Message    = message;
            ar.Result     = result;
            return(Utils.ToJson(ar));
        }
Exemple #2
0
 public static string GetResult(ajaxResult reulst)
 {
     return(ToJson(reulst));
 }