示例#1
0
        //Select Exam Type
        public JsonResult GetExamByCourse(int id)
        {
            if (id > 0)
            {
                var dataList = _examManager.GetExamByCourse(id);
                return(Json(dataList.Select(c => new { Id = c.Id, Name = c.Topic })));
            }

            return(null);
        }