public static Employee GetEmployeeByName(CompanyFactory factory) { return(factory.GetEmployeeByName(Console.ReadLine())); }