static void MenuOption_GetJobs() { Console.WriteLine("\nJobs:"); List <JobDTO> lstJ = JMS_Commands.GetJobs(); if (lstJ != null) { lstJ.ForEach(j => PrintJob(j)); } else { Console.WriteLine("No Results."); } }