public async Task <int> CreateBookingAsync(BookingDetailsDto booking) { await _bookingDBContext.AddAsync(booking); await _bookingDBContext.SaveChangesAsync(); return(booking.BookingDetailId); }
public async Task <int> CreateBookingAsync(BookingDetailsDto booking) { await _bookingDBContext.AddAsync(booking); await _bookingDBContext.SaveChangesAsync(); return(booking.BookingDetailId); }