예제 #1
0
        private static void displayAllRecs()
        {
            var recs = component.FindEmployee(UIInteraction.GetString("Enter the Name to search"));

            foreach (var rec in recs)
            {
                displayEmpInfo(rec);
            }
        }
예제 #2
0
            private static void displayAllRecs()
            {
                var recs = component.FindEmployee(UIInteraction.GetString("Enter the name or part of the Name to search"));

                foreach (var emp in recs)
                {
                    displayEmpInfo(emp);
                    Console.WriteLine();
                }
            }