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); } } }