public ActionResult Edit(int id) { Employee empl = EmplRepoStub.ReadEmployee(id); var model = new EditEmplVM { EmployeeId = empl.Id, FirstName = empl.FirstName, LastName = empl.LastName, DeptId = empl.DepartmentId, PhoneNum = empl.PhoneNum, Departments = GetDepartmentsSelectListItems() }; return(View(model)); }