Beispiel #1
0
        public IActionResult GetHealth()
        {
            Health health     = new Health();
            var    depencency = AzureAuthenticationHealthCheck();

            health.AddDepencency(depencency);
            if (depencency.Ok)
            {
                health.AddDepencency(Html2PdfHealthcheck().Result);
            }

            return(Ok(health));
        }