public void AdminOperation()
        {
            Console.WriteLine(GetAdminEnums());
            AdminDetails register = new AdminDetails();

            Console.WriteLine(statements.optionMessage);
            string adminsOption = Console.ReadLine();
            //
            AdminOption adminOption = (AdminOption)Enum.Parse(typeof(AdminOption), adminsOption);

            do
            {
                switch (adminOption)
                {
                case AdminOption.AddAdmin:
                    register.AddAdmin(sqlConnection);
                    break;

                case AdminOption.AdminLogin:
                    register.Login(sqlConnection);
                    break;

                default:
                    break;
                }
                Console.WriteLine(GetAdminEnums());
                Console.WriteLine(statements.optionMessage);
                adminsOption = Console.ReadLine();
                adminOption  = (AdminOption)Enum.Parse(typeof(AdminOption), adminsOption);
            } while (adminsOption != "Exit");
        }
        public void AdminUserOperation()
        {
            Console.WriteLine(GetUserAdminEnums());
            Console.WriteLine(statements.optionMessage);
            string       Role  = Console.ReadLine();
            AdminDetails admin = new AdminDetails();
            //checking whether the role is present in MajorOption
            MajorOption AdminuserOption = (MajorOption)Enum.Parse(typeof(MajorOption), Role);

            do
            {
                switch (AdminuserOption)
                {
                case MajorOption.Admin:
                    //admin.Login();
                    AdminOperation();
                    break;

                case MajorOption.User:
                    UserOperation();
                    break;
                }
                Console.WriteLine();
                Console.WriteLine(GetUserAdminEnums());
                Console.WriteLine(statements.optionMessage);
                Role            = Console.ReadLine();
                AdminuserOption = (MajorOption)Enum.Parse(typeof(MajorOption), Role);
            } while (Role != "Exit");
        }