private static void displayAllRecs() { var recs = component.FindEmployee(UIInteraction.GetString("Enter the Name to search")); foreach (var rec in recs) { displayEmpInfo(rec); } }
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(); } }