// GET: Home
        public ActionResult Index()
        {
            ApplicationModel am = new ApplicationModel()
            {
                Events = HttpContext.Application["events"] as List<string>,
                TimeStamps = GetTimeStamps()
            };

            return View(am);
        }
        public ActionResult Index(Color color)
        {
            Color? oldColor = Session["color"] as Color?;
            if (oldColor != null)
            {
                Votes.ChangeVote(color, (Color)oldColor);
            }
            else
            {
                Votes.RecordVote(color);
            }

            ViewBag.SelectedColor = Session["color"] = color;

            ApplicationModel am = new ApplicationModel()
            {
                Events = HttpContext.Application["events"] as List<string>,
                TimeStamps = GetTimeStamps()
            };

            return View(am);
        }