public TravelListController( ITravelListRepository travelListRepository, ICustomerRepository customerRepository ) { _travelRepo = travelListRepository; _customerRepo = customerRepository; }
public TravelListProcessor(ApplicationDbContext dbcontext) { _travelListRepository = new TravelListRepository(dbcontext); _passengerRepository = new PassengerRepository(dbcontext); _travelpassengerlistRepository = new TravelPassengerListRepository(dbcontext); }
public TravelListService(ITravelListRepository travelListRepository) { _travelListRepository = travelListRepository; }