Example #1
0
        public ActionResult ClearLog()
        {
            var result = new StandardJsonResult <bool>();

            result.Try(() =>
            {
                result.Value = _logService.ClearLog();
            });
            return(result);
        }