/* Displays the schedule page
         * Stores current matches (TimeSlot) using a session variable
         * After a rotation, a new list of players is generated and stored in the session variable
         */
        public ActionResult Index()
        {
            if (Session["PL"] != null)
            {
                ts = (TimeSlot)Session["PL"];
            }
            else
            {
                ScheduleHelper.Rotate(db, players, ts);
                Session["PL"] = ts;
            }

            return(View(ts));
        }