public ActionResult Edit(EmployeeModel employeeModel) { try { var employee = EmployeeMapper.MapFromEmployeeModel(employeeModel); Service.Update(employee); return(RedirectToAction("Index")); } catch { return(View()); } }