Rock.CheckIn.CheckInFamily.GetPeople C# (CSharp) Method

GetPeople() public method

Gets the people.
public GetPeople ( bool selectedOnly ) : List
selectedOnly bool if set to true [selected only].
return List
        public List<CheckInPerson> GetPeople( bool selectedOnly )
        {
            if ( selectedOnly )
            {
                return People.Where( p => p.Selected ).ToList();
            }
            return People;
        }