public ActionResult UpdateEmployee(string employeeCode) { var employee = employeeRepository.LoadEmployeeWithId(employeeCode); var model = new EmployeeModel { Employee = employeeMapper.MapToModel(employee) }; return(View(model)); }