public static JsonNetResult JsonError(string message) { var data = new JTableResultMessage { Result = "ERROR", Message = message }; return(new JsonNetResult(data)); }
public static JsonNetResult JsonWarning(string message) { var data = new JTableResultMessage { Result = "WARNING", Message = message }; return(new JsonNetResult(data)); }