Exemplo n.º 1
0
        public List <HotelTrans> showPaidHotel(int user_id)
        {
            HotelTransDAO dao = new HotelTransDAO();

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

            return(dao.SelectHotelByUser(userId));
        }
Exemplo n.º 3
0
        public void AddNewHotel()
        {
            HotelTransDAO hotel = new HotelTransDAO();

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

            dao.hotelInactive(genId);
        }
Exemplo n.º 5
0
        public void hotelverify(string hotelCode)
        {
            HotelTransDAO dao = new HotelTransDAO();

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

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