Ejemplo n.º 1
0
        public static void MainMenu()
        {
            while (true)
            {
                Console.Clear();
                Console.WriteLine("\t\t\t---------------Private School---------------\n\nHello Welcome to Private school");
                Console.WriteLine("Synthetic Data have been added press 3 to delete them....");
                Console.WriteLine("\n\tMain Menu \n1) Register \n2) View all \n3) Delete All Data \n4) Exit \n\n");
                Console.Write("Select an option. : ");

                switch (Console.ReadLine())
                {
                case "1":
                    RegisterMenu();
                    continue;

                case "2":
                    PrintMenu();
                    continue;

                case "3":
                    Synthetic.AllListsClear();
                    continue;

                case "4":
                    break;

                default:
                    continue;
                }
                break;
            }
        }
Ejemplo n.º 2
0
 static void Main(string[] args)
 {
     Synthetic.CreateSyntheticData();
     MainMenu();
 }