コード例 #1
0
        public async Task <ActionResult <HotelRoom> > DeleteHotelRoom(int hotelId, int roomId)
        {
            await _hotelRoom.DeleteHotelRoom(hotelId, roomId);


            return(NoContent());
        }
コード例 #2
0
        public async Task <ActionResult <HotelRoom> > DeleteHotelRoom(int id, int roomNumber)
        {
            await _hotelRoom.DeleteHotelRoom(id, roomNumber);

            return(NoContent());
        }