Beispiel #1
0
 public ActionResult KpiList(SearchKpiViewModel viewModel)
 {
     var kpis = _kpiService.GetKpiToSeries(viewModel.MapTo<GetKpiToSeriesRequest>()).KpiList;
     return Json(new { results = kpis }, JsonRequestBehavior.AllowGet);
 }
 public ActionResult KpiList(SearchKpiViewModel viewModel)
 {
     var request = viewModel.MapTo<GetKpiToSeriesRequest>();
     request.OnlyCorporate = true;
     var kpis = _kpiService.GetKpiToSeries(request).KpiList;
     return Json(new { results = kpis }, JsonRequestBehavior.AllowGet);
 }