StudentLevelScoreController.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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.CalendarManage;
  7. using EMIS.ViewModel;
  8. using EMIS.Web.Controls;
  9. using EMIS.CommonLogic.ExaminationApply;
  10. using Bowin.Web.Controls.Mvc;
  11. using EMIS.CommonLogic.ScoreManage;
  12. using EMIS.CommonLogic.Students;
  13. namespace EMIS.Web.Controllers.StudentSystem.Examine
  14. {
  15. [Authorization]
  16. public class StudentLevelScoreController : Controller
  17. {
  18. public ILevelScoreServices levelScoreServices { get; set; }
  19. //
  20. // GET: /LevelScore/
  21. public ActionResult List()
  22. {
  23. return View();
  24. }
  25. [HttpPost]
  26. public ActionResult List(QueryParamsModel pararms)
  27. {
  28. ConfiguretView configuretView = ConfiguretExtensions.GetConfiguretermsView(pararms);
  29. var user = EMIS.Utility.FormValidate.CustomPrincipal.Current;
  30. return Json(levelScoreServices.GetStudentLevelScoreGrid(configuretView, user.UserID, (int)pararms.page, (int)pararms.rows));
  31. }
  32. }
  33. }