public EmployeeGetByIdWithDetail ( int id ) : |
||
id | int | |
return |
// GET: Matches/ByEmployeeWithDetails/5 public ActionResult ByEmployeeWithJobDuties(int?id) { // Attempt to get the matching object var o = m.EmployeeGetByIdWithDetail(id.GetValueOrDefault()); if (o == null) { return(HttpNotFound()); } else { // Pass the object to the view return(View(o)); } }