Ejemplo n.º 1
0
        public JsonResult CourseAssign(CourseAssign courseAssign)
        {
            courseAssign.ReaminingCredit = courseAssign.ReaminingCredit - courseAssign.Credit;


            string log = anCourseAssignManager.SaveAssignCourse(courseAssign);

            anCourseAssignManager.UpdateReaminingCredit(courseAssign.ReaminingCredit, courseAssign.TeacherId);

            ViewBag.Department = aSaveTeacherManager.TakeAllDeparment();



            return(Json(log));
        }