Example #1
0
        public bool Update(string Name, string Description, string Location, int Star, string URL, string Phone, string Fax, string Email, int ConferenceID, int Original_ID)
        {
            HotelDAC hotelComponent = new HotelDAC();

            return(hotelComponent.UpdateHotel(Name, Description, Location, Star, URL, Phone, Fax, Email, ConferenceID, Original_ID));
        }
Example #2
0
        public bool Update(Hotel hotel, int old_iD)
        {
            HotelDAC hotelComponent = new HotelDAC();

            return(hotelComponent.UpdateHotel(hotel.Name, hotel.Description, hotel.Location, hotel.Star, hotel.URL, hotel.Phone, hotel.Fax, hotel.Email, hotel.ConferenceID, old_iD));
        }