// Example: http://localhost:{yourPort}/HealthcareEventProjectionReport?start=2014/01&end=2014/03&diagnosisIds=dg1 public ActionResult Index(DateTime start, DateTime end, string diagnosisIds) { var reportViewModel = new HealthcareReportBuilder().Build(start, end, diagnosisIds.Split(',')); // Optional: Create a view and display the report return(Json(reportViewModel, JsonRequestBehavior.AllowGet)); }
// Example: http://localhost:{yourPort}/HealthcareEventProjectionReport?start=2014/01&end=2014/03&diagnosisIds=dg1 public ActionResult Index(DateTime start, DateTime end, string diagnosisIds) { var reportViewModel = new HealthcareReportBuilder().Build(start, end, diagnosisIds.Split(',')); // Optional: Create a view and display the report return Json(reportViewModel, JsonRequestBehavior.AllowGet); }