Exemple #1
0
 public IActionResult GetAlive()
 {
     if (_statusReporter.IsAlive())
     {
         return(StatusCode(200));
     }
     return(StatusCode(503));
 }