12345678910111213141516171819202122232425262728293031 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using System.Web.Mvc;
- using EMIS.CommonLogic.ScoreManage;
- using EMIS.CommonLogic.Students;
- namespace EMIS.Web.ServiceControllers.ScoreManage
- {
- public class ScoreServicesController : Controller
- {
- public ICourseGradeServices CourseGradeServices { get; set; }
- public IScoreServices ScoreServices { get; set; }
- public ActionResult GetScoreTotalView(Guid userID)
- {
- return Json(CourseGradeServices.GetStudentPersonalScoreGT(userID), JsonRequestBehavior.AllowGet);
- }
- public ActionResult GetScoreDetailView(Guid userID)
- {
- return Json(CourseGradeServices.GetStudentCourseGrade(userID), JsonRequestBehavior.AllowGet);
- }
- public ActionResult GetSubmitedScoreList(Guid coursematerialID, int? startTermID, Guid userID)
- {
- return Json(CourseGradeServices.GetSubmitedScoreList(coursematerialID, startTermID, userID), JsonRequestBehavior.AllowGet);
- }
- }
- }
|