Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public BookingDTO Insert(BookingDTO _booking) { using (CarRentalEntities context = new CarRentalEntities()) { Booking booking = context.usp_Booking_Insert(_booking.is_Personal_Car_Used, _booking.id_Request_Booking, _booking.Licence_Plate).FirstOrDefault(); return(bookingMapping.MapToBookingDTO(booking)); } }