Esempio n. 1
0
        public static string GenerateJSONError(string message)
        {
            JSONError error = new JSONError(message);

            return JsonSerializer.ToJson(error);
        }
Esempio n. 2
0
        public static string GenerateJSONError(string message)
        {
            JSONError error = new JSONError(message);

            return Json.Stringify(error, WebAppConfig.JsonDateFormat);
        }
Esempio n. 3
0
        public static string GenerateJSONError(string message)
        {
            JSONError error = new JSONError(message);

            return(Json.Stringify(error, WebAppConfig.JsonDateFormat));
        }
Esempio n. 4
0
        public static string GenerateJSONError(string message)
        {
            JSONError error = new JSONError(message);

            return(JsonSerializer.ToJson(error));
        }