Esempio n. 1
0
        public ContentResult GenerateSchedules()
        {
            var x            = Scheduler.GenerateSchedules(Sequencer.GenerateSequence(DBInterfacer.GetStudent((Session["username"] ?? TEST_STUDENT_USER).ToString()), 2, 0), 2, 0);
            var scheduleJson = JObject.FromObject(x);

            return(Content(scheduleJson.ToString(), "application/json"));
        }