Example #1
0
 public ReservationController(GrubberContext context, ITripReservationMapper reservationMapper, ITripScheduleMapper scheduleMapper, UserManager <ApplicationUser> userManager)
 {
     _context           = context;
     _reservationMapper = reservationMapper;
     _scheduleMapper    = scheduleMapper;
     _userManager       = userManager;
 }
 public TripScheduleMapper(ITripReservationMapper tripReservationMapper)
 {
     _tripReservationMapper = tripReservationMapper;
 }