CollegeController.cs 756 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.Mvc;
  6. using EMISOnline.Entities;
  7. using EMISOnline.CommonLogic.EducationalServices;
  8. using System.Linq.Expressions;
  9. namespace EMISOnline.Web.Controllers.Manage
  10. {
  11. public class CollegeController : Controller
  12. {
  13. //学院管理
  14. public ICollegeServices ICollegeServices { get; set; }
  15. public ActionResult List()
  16. {
  17. return View();
  18. }
  19. [HttpPost]
  20. public ActionResult List(int page, int rows, string CollegeName, string CollegeNo)
  21. {
  22. var result = ICollegeServices.GetCollegeList(page, rows, CollegeName, CollegeNo);
  23. return Json(result);
  24. }
  25. }
  26. }