コード例 #1
0
        public IActionResult Get()
        {
            if (healthService.IsDown())
            {
                return(StatusCode((int)HttpStatusCode.TooManyRequests, "Down"));
            }

            return(Ok("Up"));
        }