public ActionResult Index(Color color) { Color?oldColor = Session["color"] as Color?; if (oldColor != null) { Vote.ChangeVote(color, (Color)oldColor); } else { Vote.RecordVote(color); } ViewBag.SelectedColor = Session["color"] = color; return(View(GetTimeStamps())); //return View(HttpContext.Application["events"]); }