private void GetAllOperation()
        {
            int page = 0;

            while (true)
            {
                switch (view.entity)
                {
                case Entity.Room:
                    List <Room> r_table = roomDAO.GetAll(page);
                    view.PrintTable(view.Rooms_table(r_table));
                    break;

                case Entity.Guest:
                    List <Guest> g_table = guestDAO.GetAll(page);
                    view.PrintTable(view.Guests_table(g_table));
                    break;

                case Entity.Booking:
                    List <Booking> b_table = bookingDAO.GetAll(page);
                    view.PrintTable(view.Booking_table(b_table));
                    break;
                }
                int arr = view.Page();
                if (arr == 0)
                {
                    break;
                }
                else
                {
                    page += arr;
                }
                if (page < 0)
                {
                    page = 0;
                }
            }
            view.Success();
        }