示例#1
0
        public async Task <IActionResult> CancelBookingDetail(int id)
        {
            var book = await _context.CancelBookingDetail(id);

            if (book == null)
            {
                throw new NullReferenceException();
            }

            return(Ok(book));
        }