static void MenuOptions_GetLogs() { Console.WriteLine("\nLogs:"); List <PrivateLog> lstEm = JMS_Commands.GetLogs(); if (lstEm != null) { lstEm.ForEach(j => PrintLog(j)); } else { Console.WriteLine("No Results."); } }