public async Task <IActionResult> AddBookingDetail(BookingDetail book) { log.Info("Booking method is called!"); if (!ModelState.IsValid) { return(BadRequest(ModelState)); } var temp = await _context.AddBookingDetail(book); return(Ok(temp)); }