コード例 #1
0
        public IActionResult GetLog()
        {
            var result = _elementsService.GetLog();

            if (result == null)
            {
                return(BadRequest("Invalid credentials"));
            }
            else
            {
                return(Ok(result));
            }
        }