public JobDutyGetAllWithEmployees ( ) : IEnumerable |
||
return | IEnumerable |
public IEnumerable<JobDutyWithEmployees> JobDutyGetAllWithEmployees()
{
return Mapper.Map<IEnumerable<JobDutyWithEmployees>>
(ds.JobDuties.Include("Employees").OrderBy(j => j.Name));
}
// GET: Matches/ByJobDutyMore public ActionResult ByJobDutyMore() { return(View(m.JobDutyGetAllWithEmployees())); }