public async Task <IActionResult> EditRB(Guid roombookedid, RoomsBooked roomsBooked)
 {
     roomsBooked.BookingID = roombookedid;
     return(Ok(await _RoomsBooked.UpdateRoomBookeds(roomsBooked)));
 }
        public async Task <IActionResult> GetRoomsBooked(RoomsBooked roomBooked)
        {
            var result = await _RoomsBooked.AddRoomsBookedAsync(roomBooked);

            return(Created(HttpContext.Request.Scheme + "://" + HttpContext.Request.Host + HttpContext.Request.Path + "/" + result.RoomBookedID, result));
        }