コード例 #1
0
        public static string GenerateJSONError(string message)
        {
            JSONError error = new JSONError(message);

            return JsonSerializer.ToJson(error);
        }
コード例 #2
0
ファイル: AjaxHelper.cs プロジェクト: TheMouster/mvc
        public static string GenerateJSONError(string message)
        {
            JSONError error = new JSONError(message);

            return Json.Stringify(error, WebAppConfig.JsonDateFormat);
        }
コード例 #3
0
ファイル: AjaxHelper.cs プロジェクト: viciproject/mvc
        public static string GenerateJSONError(string message)
        {
            JSONError error = new JSONError(message);

            return(Json.Stringify(error, WebAppConfig.JsonDateFormat));
        }
コード例 #4
0
        public static string GenerateJSONError(string message)
        {
            JSONError error = new JSONError(message);

            return(JsonSerializer.ToJson(error));
        }