public IActionResult Get() { if (healthService.IsDown()) { return(StatusCode((int)HttpStatusCode.TooManyRequests, "Down")); } return(Ok("Up")); }
public IActionResult Get() { if (healthService.IsDown()) { return(StatusCode((int)HttpStatusCode.TooManyRequests, "Down")); } return(Ok("Up")); }