// GET: Customers/Create public ActionResult Create() { ViewBag.DeptId = new SelectList(_departmentManager.GetAllDepartment(), "DeptId", "Department1"); return(View()); }