Ejemplo n.º 1
0
        public Task <HealthCheckResult> CheckHealthAsync(HealthCheckContext context, CancellationToken cancellationToken = new CancellationToken())
        {
            _externalService.DoWork();

            return(Task.FromResult(HealthCheckResult.Unhealthy()));
        }