示例#1
0
 public JsonResult Process([IoCModelBinder(typeof(HealthCheckProcessorModelBinder))] IHealthCheck healthCheck)
 {
     return(Json(healthCheck == null ? new HealthCheckResult() : healthCheck.PerformCheck(), JsonRequestBehavior.AllowGet));
 }