Beispiel #1
0
        public List <HotelTrans> showPaidHotel(int user_id)
        {
            HotelTransDAO dao = new HotelTransDAO();

            return(dao.showHotelPaid(user_id));
        }
Beispiel #2
0
        public List <HotelTrans> getAllHotel(int userId)
        {
            HotelTransDAO dao = new HotelTransDAO();

            return(dao.SelectHotelByUser(userId));
        }
Beispiel #3
0
        public void AddNewHotel()
        {
            HotelTransDAO hotel = new HotelTransDAO();

            hotel.AddHotel(this);
        }
Beispiel #4
0
        public void hotelInactive(int genId)
        {
            HotelTransDAO dao = new HotelTransDAO();

            dao.hotelInactive(genId);
        }
Beispiel #5
0
        public void hotelverify(string hotelCode)
        {
            HotelTransDAO dao = new HotelTransDAO();

            dao.hotelVerified(hotelCode);
        }
Beispiel #6
0
        public void hotelPay(int cartId, int roomQty, int userId)
        {
            HotelTransDAO dao = new HotelTransDAO();

            dao.updateHotelBook(cartId, roomQty, userId);
        }