public IActionResult DeleteHotels(Guid hotelid) { var hotels = _hotels.GetHotels(hotelid); if (hotelid != null) { _hotels.DeleteHotelsAsync(hotels); return(Ok()); } return(NotFound($"Hotels with id: {hotelid} was not found")); }
public IActionResult DeleteHotels(Guid hotelid) { var hotels = _hotels.GetHotels(hotelid); if (hotelid != null) { _hotels.DeleteHotelsAsync(hotels); return(Ok()); } return(NotFound($"Hotels with id: {hotelid} was not found")); }