Example #1
0
        public static JsonNetResult JsonError(string message)
        {
            var data = new JTableResultMessage
            {
                Result  = "ERROR",
                Message = message
            };

            return(new JsonNetResult(data));
        }
Example #2
0
        public static JsonNetResult JsonWarning(string message)
        {
            var data = new JTableResultMessage
            {
                Result  = "WARNING",
                Message = message
            };

            return(new JsonNetResult(data));
        }