Exemplo n.º 1
0
        public ActionResult <GetStatusResponse> GetTheStatus()
        {
            var response = new GetStatusResponse
            {
                Message     = "Everything is operational.",
                LastChecked = DateTime.Now
            };

            return(Ok(response));
        }
        public ActionResult <GetStatusResponse> GetTheStatus()
        {
            GetStatusResponse response = _statusService.GetMyStatus();

            return(Ok(response));
        }