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 LoginDetails()
 {
     adminDetails.Login(sqlConnection);
 }