public static void ListarNomes() { nameController.GetNomes().ToList().ForEach(x => Console.WriteLine($"Id: {x.Id} -- Nome: {x.Nome}")); Console.ReadKey(); }
public static void ListarNomes() { nameController.GetNomes().ToList().ForEach(x => Console.WriteLine($"Id: {x.Id} -- Nome: {x.Nome}")); Console.ReadKey(); }