public GroupExistsQuery(IQueryable<Group> groups) { if (groups == null) { throw new ArgumentNullException("groups"); } this.groups = groups; }