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)); }
public static string GetResult(ajaxResult reulst) { return(ToJson(reulst)); }