public HealthCheck CheckHealth() { try { return(new HealthCheck() { DatabaseStatus = service.GetDatabaseStatus() }); } catch (Exception ex) { logger.LogError(ex); throw ex; } }
public HealthCheck CheckHealth() { try { return(new HealthCheck() { DatabaseStatus = service.GetDatabaseStatus() }); } catch (Exception ex) { logger.LogError(ex); throw ex; } }