Exemplo n.º 1
0
        public int GetEmployeePassportStatistics()
        {
            var checker = new PassportChecker();
            var count   = 0;

            foreach (var employee in Employees)
            {
                if (employee.BringThePassport(checker.CheckPassportNumber))
                {
                    count++;
                }
            }

            return(count);
        }