ExaminationServicesController.cs 908 B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.Mvc;
  6. using EMIS.CommonLogic.ExaminationManage;
  7. using EMIS.CommonLogic.CalendarManage;
  8. using EMIS.ViewModel;
  9. namespace EMIS.Web.ServiceControllers.ExaminationManage
  10. {
  11. public class ExaminationServicesController : Controller
  12. {
  13. public IStudentExaminationCourseServices StudentExaminationCourseServices { get; set; }
  14. public ISchoolYearServices SchoolYearServices { get; set; }
  15. public ActionResult GetStudentExaminationPlanView(Guid userID)
  16. {
  17. var schoolyear = SchoolYearServices.GetCurrentSchoolYear();
  18. return Json(StudentExaminationCourseServices.GetStudentExaminationCourseViewList(new ConfiguretView(),
  19. schoolyear.SchoolYearID, null, null, null, userID, new List<Guid?>()), JsonRequestBehavior.AllowGet);
  20. }
  21. }
  22. }