Exemplo n.º 1
0
        public static void Run()
        {
            Console.WriteLine("[BlackBox Recorder Demo Application]");
            Console.WriteLine();

            var bl = new EmployeeBL();
            var topPayedEmployees = bl.GetEmployeesMakingMoreThan(5000);

            Console.WriteLine("Name\t\t\tSalary");
            foreach (var employee in topPayedEmployees)
            {
                Console.WriteLine("{0}\t{1}", employee.Name, employee.Salary);
            }

            Console.WriteLine();
        }
Exemplo n.º 2
0
        public static void Run()
        {
            Console.WriteLine("[BlackBox Recorder Demo Application]");
            Console.WriteLine();

            var bl = new EmployeeBL();
            var topPayedEmployees = bl.GetEmployeesMakingMoreThan(5000);

            Console.WriteLine("Name\t\t\tSalary");
            foreach (var employee in topPayedEmployees)
            {
                Console.WriteLine("{0}\t{1}", employee.Name, employee.Salary);
            }

            Console.WriteLine();
        }