Beispiel #1
0
        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));
        }