public IActionResult EditHotels(Guid hotelid, Hotels hotels) { var existingHotels = _hotels.GetHotels(hotelid); if (existingHotels != null) { hotels.HotelID = existingHotels.HotelID; _hotels.UpdateHotelsAsync(hotels); } return(Ok(hotels)); }