using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using EMIS.CommonLogic.CalendarManage; namespace EMIS.Web.Controllers.EducationSchedule { [Authorization] public class AdultEducationSchedulingReportController : Controller { // // GET: /AdultEducationSchedulingReport/ public ISchoolYearServices SchoolYearServices { get; set; } public ActionResult ClassmajorReport() { var schoolYear = SchoolYearServices.GetSchoolYearIsCurrent(true); ViewBag.SchoolYearID = schoolYear == null ? "-1" : schoolYear.SchoolyearID.ToString();//默认当前学年 return View(); } public ActionResult TeacherReport() { var schoolYear = SchoolYearServices.GetSchoolYearIsCurrent(true); ViewBag.SchoolYearID = schoolYear == null ? "-1" : schoolYear.SchoolyearID.ToString();//默认当前学年 return View(); } } }