示例#1
0
 public ActionResult Create()
 {
     ViewBag.SchoolId = new SelectList(_schoolManager.List(), "Id", "Name");
     return(View());
 }
 public ActionResult Index()
 {
     return(View(_schoolManager.List()));
 }