Пример #1
0
 public TravelListController(
     ITravelListRepository travelListRepository,
     ICustomerRepository customerRepository
     )
 {
     _travelRepo   = travelListRepository;
     _customerRepo = customerRepository;
 }
Пример #2
0
 public TravelListProcessor(ApplicationDbContext dbcontext)
 {
     _travelListRepository          = new TravelListRepository(dbcontext);
     _passengerRepository           = new PassengerRepository(dbcontext);
     _travelpassengerlistRepository = new TravelPassengerListRepository(dbcontext);
 }
Пример #3
0
 public TravelListService(ITravelListRepository travelListRepository)
 {
     _travelListRepository = travelListRepository;
 }