StudentsController.cs 797 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.Mvc;
  6. using EMISOnline.CommonLogic.EducationalServices;
  7. namespace EMISOnline.Web.Controllers.Manage
  8. {
  9. public class StudentsController : Controller
  10. {
  11. //学生信息
  12. public IStudentsServices IStudentsServices { get; set; }
  13. public ActionResult List()
  14. {
  15. return View();
  16. }
  17. [HttpPost]
  18. public ActionResult List(int page, int rows, string LoginID, string Name, int? StudentStatus,
  19. string Schoolyear, string StandardName)
  20. {
  21. var result = IStudentsServices.GetStudentList(page, rows, LoginID, Name, StudentStatus, Schoolyear, StandardName);
  22. return Json(result);
  23. }
  24. }
  25. }