public PassengerViewModelService(IPassengerRepo repo,
                                  IUnitOfWork unitOfWork,
                                  IScheduleRepo scheduleRepo,
                                  IAppoinmentRepo appoinmentRepo
                                  )
 {
     _appoinmentRepo = appoinmentRepo;
     _passengerRepo  = repo;
     _unitOfWork     = unitOfWork;
     _scheduleRepo   = scheduleRepo;
 }
Esempio n. 2
0
 public IPassengerRepo GetPassengerRepository()
 {
     passengerRepo = new PassengerEFRepository();
     return(passengerRepo);
 }
 public BookingManager(IUnitOfWork uow)
 {
     this.bookingRepo        = uow.GetBookingRepository();
     this.passengerRepo      = uow.GetPassengerRepository();
     this.bookingContactRepo = uow.GetBookingContactRepository();
 }
Esempio n. 4
0
 public PassengersController(IPassengerRepo passengerRepo, IMapper mapper)
 {
     _passengerRepo = passengerRepo;
     _mapper        = mapper;
 }
 public PassengersController(IPassengerRepo repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }