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