// GET: Employee/Details/5 public ActionResult Details(int id) { ViewBag.Employee = repo.FindEmployee(id); return(View()); }