EvaluationServicesController.cs 926 B

123456789101112131415161718192021222324
  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.EvaluationManage;
  7. using EMIS.CommonLogic.SystemServices;
  8. namespace EMIS.Web.ServiceControllers.EvaluationManage
  9. {
  10. public class EvaluationServicesController : Controller
  11. {
  12. public IEvaluationEnterServices EvaluationEnterServices { get; set; }
  13. public IEvaluationControlServices EvaluationControlServices { get; set; }
  14. public ActionResult GetStudentEvaluationEnterViewList(Guid userID, int pageIndex, int pageSize)
  15. {
  16. var evaluationControl = EvaluationControlServices.GetEvaluationControlView();
  17. return Json(EvaluationEnterServices.GetEvaluationEnterViewGrid(new ViewModel.ConfiguretView(), evaluationControl.SchoolyearID, userID, null, true, pageIndex, pageSize),
  18. JsonRequestBehavior.AllowGet);
  19. }
  20. }
  21. }