Example #1
0
        private static void ListAllProcedures()
        {
            Console.WriteLine("#### Listing all the procedures ####");
            List <Procedure> procedures = clinic.GetProcedures();
            int index = 1;

            procedures.ForEach((Procedure obj) => {
                Console.WriteLine(index + " - " + obj.Name);
                index++;
            });
        }