JobDutyGetByIdWithDetail() публичный Метод

public JobDutyGetByIdWithDetail ( int id ) : JobDutyWithEmployees
id int
Результат JobDutyWithEmployees
        // GET: Matches/ByJobDutyWithDetails/5
        public ActionResult ByJobDutyWithEmployees(int?id)
        {
            // Attempt to get the matching object
            var o = m.JobDutyGetByIdWithDetail(id.GetValueOrDefault());

            if (o == null)
            {
                return(HttpNotFound());
            }
            else
            {
                // Pass the object to the view
                return(View(o));
            }
        }