12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using System.Web.Mvc;
- using EMIS.CommonLogic.Students.HighBaseTable;
- using EMIS.ViewModel;
- using Bowin.Web.Controls.Mvc;
- namespace EMIS.Web.Controllers.StudentManage.HighBaseTable
- {
- [Authorization]
- public class HighbaseAdultBachelorSpecialtyStudentCountController : Controller
- {
- public IBachelorSpecialtyStudentCountServices BachelorSpecialtyStudentCountServices { get; set; }
- public ActionResult List()
- {
- return View();
- }
- [HttpPost]
- public ActionResult Update()
- {
- try
- {
- BachelorSpecialtyStudentCountServices.Update();
- return Json(new ReturnMessage()
- {
- IsSuccess = true,
- Message = "更新成功!"
- });
- }
- catch (Exception ex)
- {
- return Json(new ReturnMessage()
- {
- IsSuccess = false,
- Message = "更新失败,原因:" + ex.Message + "!"
- });
- }
- }
- //[HttpPost]
- //public ActionResult SchoolYearDropDown(DropdownListBindType? bindType)
- //{
- // List<DropdownListItem> list = BachelorSpecialtyStudentCountServices.SchoolYearDropDownList()
- // .Select(x => new DropdownListItem { Text = x, Value = x })
- // .OrderByDescending(x => x.Value).ToList();
- // DropdownListBindType dbt = bindType == null ? DropdownListBindType.SelectAll : bindType.Value;
- // DropdownList.FormatDropdownItemList(dbt, list);
- // return base.Json(list);
- //}
- }
- }
|