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