public RequestBookingDTO Insert(RequestBookingDTO _requestBooking)
 {
     using (CarRentalEntities context = new CarRentalEntities())
     {
         RequestBooking requestBooking = context.usp_RequestBooking_Insert(_requestBooking.is_Personal_Car_Available, _requestBooking.Reason, _requestBooking.Id_Status, _requestBooking.CreateBy).FirstOrDefault();
         return(requestBookingMapping.MapToRequestBookingDTO(requestBooking));
     }
 }
 public RequestBookingDTO GetByRequestBooking(int idRequestBooking)
 {
     using (CarRentalEntities context = new CarRentalEntities())
     {
         RequestBooking requestBooking = context.usp_RequestBooking_Get(idRequestBooking).FirstOrDefault();
         return(requestBookingMapping.MapToRequestBookingDTO(requestBooking));
     }
 }