using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using EMIS.CommonLogic.CalendarManage; using EMIS.ViewModel; using EMIS.Web.Controls; using EMIS.CommonLogic.ExaminationApply; using Bowin.Web.Controls.Mvc; using EMIS.CommonLogic.ScoreManage; using EMIS.CommonLogic.Students; namespace EMIS.Web.Controllers.StudentSystem.Examine { [Authorization] public class StudentLevelScoreController : Controller { public ILevelScoreServices levelScoreServices { get; set; } public Lazy StudentRecordService { get; set; } // // GET: /LevelScore/ public ActionResult List() { return View(); } [HttpPost] public ActionResult List(QueryParamsModel pararms) { ConfiguretView configuretView = ConfiguretExtensions.GetConfiguretermsView(pararms); var user = HttpContext.User as EMIS.Utility.FormValidate.CustomPrincipal; var schoolyearID = pararms.getExtraGuid("SchoolyearDropdown"); var examinationSubjectID = pararms.getExtraGuid("ExaminationSubjectDropdown"); return Json(levelScoreServices.GetStudentLevelScoreGrid(configuretView, schoolyearID, examinationSubjectID,user.UserID, (int)pararms.page, (int)pararms.rows)); } } }