Example #1
0
        public ActionResult InsSubject(models.Subject subject)
        {
            var insSubject = _subjectService.InsSubject(subject);

            return(new JsonResult(insSubject));
        }
Example #2
0
        public ActionResult UpdSubject(models.Subject subject)
        {
            var updSubject = _subjectService.UpdSubject(subject);

            return(new JsonResult(updSubject));
        }