Exemple #1
0
        public int Redirect(string input)
        {
            switch (input)
            {
            case "1":
                Console.Clear();
                SignInPage signIn = new SignInPage();
                DefaultMessages.PrintHeader();
                return(1);

            case "2":
                //Console.WriteLine("TWO");
                DefaultMessages.PrintHeader();
                return(2);

            case "3":
                //Console.WriteLine("THREE");
                return(3);

            default:
                DefaultMessages.PrintHeader();
                DefaultMessages.PrintErrorMessage("Wrong input !!! Please select one of the following options:");
                return(0);
            }
        }
Exemple #2
0
 public HomePage()
 {
     DefaultMessages.PrintHeader();
     LoadPage();
 }