Пример #1
0
 public ActionResult Create()
 {
     ViewBag.DeptList = new SelectList(objEmp.GetDeptData(), "DeptId", "DeptName");
     return(View());
 }