// Attendees by Agency : Get // id is Agency Id public ActionResult ByAgency(int id = 0, int p = 1, int ps = 50) { StorePaging(p, ps); // Get the agency and then the attendees var model = _agencyService.Get(id); model.Attendees = _attendeeService.ByAgency(id); return(View(model)); }