Wrote method to map resultSet to TeamMember