/*method get account no from administrator and then take input to update account info*/
        public void update()
        {
            bool l_break = false;

            while (true)
            {
                Console.Clear();
                try
                {
                    int accountNO;
                    accountNO = inputInt("Enter the Account Number:  ");
                    Administrator_BLL administrator    = new Administrator_BLL();
                    Customer_BO       customerPrevious = administrator.giveAccount(accountNO);
                    if (customerPrevious != null)
                    {
                        Console.Clear();
                        WriteLine("\n\nPrevious Details of Account.");
                        showAccount(customerPrevious);// method display info of account

                        WriteLine("\nPlease enter in the fields you wish to update (leave blank otherwise):\n");
                        Customer_BO customerNew = new Customer_BO();
                        customerNew = getInput();
                        while (true)
                        {
                            bool l_b = false;
                            try
                            {
                                Write("Account Number:  ");
                                string input = ReadLine();
                                if (input == "")
                                {
                                    customerNew.Account_No = -100;/*since acoountNO is not -ve we store -ve value to show administrator does not update accountNO*/
                                    l_b = true;
                                }
                                else
                                {
                                    customerNew.Account_No = System.Convert.ToInt32(input);
                                    l_b = true;
                                }
                            }
                            catch (Exception)
                            {
                                WriteLine("please enter valid account number. Press any key to continue");
                                ReadKey();
                            }
                            if (l_b == true)
                            {
                                break;
                            }
                        }

                        bool result = administrator.update_BLL(customerPrevious, customerNew);
                        if (result == true)
                        {
                            WriteLine("Your account has been successfully been updated.");
                            l_break = true;
                        }
                        else
                        {
                            WriteLine("Your account is not updated.");
                            l_break = true;
                        }
                    }
                    else
                    {
                        WriteLine("Account is not Eixsts.");
                        l_break = true;
                    }
                }
                catch (Exception)
                {
                    WriteLine("Input is not correct. Press any key to continue.");
                }
                if (l_break == true)
                {
                    break;
                }
            }
        }
        /*method get account number from adminstrator and delete this specific account*/
        public void deleteAccount()
        {
            Administrator_BLL administrator = new Administrator_BLL();
            bool l_break = false;

            while (true)
            {
                try
                {
                    Console.Clear();
                    int accountNo;
                    accountNo = inputInt("Enter the account number to which you want to delete:  ");

                    Customer_BO customer = administrator.giveAccount(accountNo);
                    if (customer != null)
                    {
                        WriteLine("\n\nYou wish to delete the account held by Mr " + customer.holderName + "  If this information is correct please re - enter the account number:  ");
                        int input_2nd = 0;
                        try
                        {
                            input_2nd = System.Convert.ToInt32(ReadLine());
                        }
                        catch (Exception)
                        {
                        }
                        if (input_2nd == accountNo)
                        {
                            bool result = administrator.deleteAccount(accountNo);
                            if (result == true)
                            {
                                WriteLine("\n\nAccount Deleted Successfully");
                                l_break = true;
                            }
                            else
                            {
                                WriteLine("Error in deleting account.");
                                l_break = true;
                            }
                        }
                        else
                        {
                            WriteLine("You enter wrong account number.");
                            l_break = true;
                        }
                    }
                    else
                    {
                        WriteLine("Account is not Exist.");
                        l_break = true;
                    }
                    if (l_break == true)
                    {
                        break;
                    }
                }
                catch (Exception)
                {
                    WriteLine("Input is not correct");
                }
            }
        }