Agribusiness.Web.Services.PersonService.GetDisplayPeopleForSeminar C# (CSharp) Method

GetDisplayPeopleForSeminar() public method

Gets a display list of people for a specific seminar
public GetDisplayPeopleForSeminar ( int id, string site ) : IEnumerable
id int Seminar Id
site string
return IEnumerable
        public IEnumerable<DisplayPerson> GetDisplayPeopleForSeminar(int id, string site)
        {
            var seminarPeeps = _seminarPersonRepository.Queryable.Where(a => a.Seminar.Id == id);
            var people = seminarPeeps.Select(a => a.Person);

            return GetDisplayPeeps(people, site);
        }