Пример #1
0
        // Get the Selected Course SSS and return via a Json call
        public ActionResult CourseSSS(int id, string teecolour)
        {
            CourseInfo cinfo     = new CourseInfo();
            CompScore  compscore = new CompScore();

            {
                compscore.CourseID = id;
                compscore.SSS      = cinfo.GetCourseSSS(id, teecolour);
            };

            return(Json(new { newcompScore = compscore }, JsonRequestBehavior.AllowGet));
        }