public async Task <IActionResult> CheckOut(int id) { var result = await _repo.CheckoutAsync(id); // await _repo2.ReleaseRoomAsync(id) // the room should be released to in readiness for another customer return(Ok(result)); }