예제 #1
0
 public ActionResult Create()
 {
     ViewBag.DepartmentId = new SelectList(managerDepartment.List(), "Id", "Name");
     ViewBag.ManagerId    = managerPersonnel.List();
     return(View());
 }
예제 #2
0
 public ActionResult Index()
 {
     return(View(managerDepartment.List()));
 }