public ActionResult LastYear() { ViewBag.Message = "Charts."; ChartsViewModel chartsViewModel = new ChartsViewModel(Average.ChartSpans.LastYear); chartsViewModel.Load(); return(View("Index", chartsViewModel)); }
public ActionResult Index() { ViewBag.Message = "Charts."; ChartsViewModel chartsViewModel = new ChartsViewModel(Average.ChartSpans.Last48Hours); chartsViewModel.Load(); return(View(chartsViewModel)); }