Beispiel #1
0
        public bool Update(string RoomTypeName, int Original_RoomTypeId)
        {
            RoomTypeDAC roomtypeComponent = new RoomTypeDAC();

            return(roomtypeComponent.UpdateRoomType(RoomTypeName, Original_RoomTypeId));
        }
Beispiel #2
0
        public bool Update(RoomType roomtype, int old_roomTypeId)
        {
            RoomTypeDAC roomtypeComponent = new RoomTypeDAC();

            return(roomtypeComponent.UpdateRoomType(roomtype.RoomTypeName, old_roomTypeId));
        }