public ActionResult Delete(int id) { var employees = _employees.GetEmployeesByID(id); if (employees == null) { return(RedirectToAction("Index")); } return(View(employees)); }