public AccountExistsQuery(IQueryable<Account> accounts) { if (accounts == null) { throw new ArgumentNullException("accounts"); } this.accounts = accounts; }