public HttpResponseMessage Book([FromBody] Booking model) { if (model.bookingStatus == null) { model.bookingStatus = "Optional"; } HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, _hotelManager.Book(model)); return(response); }