public async Task <ActionResult <IEnumerable <HealthCheckModel> > > GetHealthChecksData() => await Execute(async operation =>
 {
     var entities = await healthChecksService.GetHealthChecksData(operation);
     return(entities.ToModel());
 });
Esempio n. 2
0
 public async Task <bool> IsSystemHealthStatusOk(IOperation operation) => (await healthChecksService.GetHealthChecksData(operation)).All(check => check.IsOk);