Example #1
0
        public IActionResult GetServiceStatusAll()
        {
            var result = _healthCheckState.GetAggregatedServiceState();

            Log.LogInformation($"{nameof(GetServiceStatusAll)}: Resolved aggregated service status, found: {result}");

            return(Ok(new { servicesOnline = result == ServiceState.Available }));
        }