public List <HotelBook> getCentralHotels() { HotelBookDAO dao = new HotelBookDAO(); return(dao.getCentralHotels()); }
public List <HotelBook> GetAllHotel() { HotelBookDAO dao = new HotelBookDAO(); return(dao.SelectAllHotel()); }
public HotelBook getHotelById(string hotelId) { HotelBookDAO dao = new HotelBookDAO(); return(dao.selectByHotel(hotelId)); }
public void addHotel(HotelBook hotel) { HotelBookDAO attDao = new HotelBookDAO(); attDao.addNewHotel(hotel); }
public List <HotelBook> getHotelsByPrice() { HotelBookDAO dao = new HotelBookDAO(); return(dao.getHotelsByPrice(minPriceFilter, maxPriceFilter)); }
public List <HotelBook> getEastHotels() { HotelBookDAO dao = new HotelBookDAO(); return(dao.getEastHotels()); }