Beispiel #1
0
        public ActionResult GetRuleSubjectName(string model)
        {
            ExamRuleModel models = new ExamRuleModel();

            models.GetRuleSubjectList(model);
            return(Json(new { ListTopic = models.ListTopic }, JsonRequestBehavior.AllowGet));
        }
Beispiel #2
0
        public ActionResult GetSubjectList(string model, string subjectname)
        {
            ExamRuleModel models  = new ExamRuleModel();
            var           subject = Data.ExamSubject.GetSubjectList();

            models.GetRuleType(model);
            models.GetRuleSubjectList(subjectname);
            return(Json(new { ListTypeName = subject, RuleGrList = models.RuleTopicList, ListTopic = models.ListTopic }, JsonRequestBehavior.AllowGet));
        }