public IList <Employee> Employees() { PrepareContactsObject(); Console.WriteLine("Fetching list of employees..."); return(_contacts.Employees()); }
public IList <Employee> Employees() { Console.WriteLine("Creating contact list and fetching list of employees..."); if (_contacts == null) { _contacts = new ContactsImpl(); _employeeList = _contacts.Employees(); } return(_employeeList); }