public Task <HealthCheckResult> CheckHealthAsync(HealthCheckContext context, CancellationToken cancellationToken = new CancellationToken()) { _externalService.DoWork(); return(Task.FromResult(HealthCheckResult.Unhealthy())); }