예제 #1
0
 public TravelService(DbSettings dbSettings)
 {
     TravelRepository   = new TravelRepository(dbSettings);
     LocationRepository = new LocationRepository(dbSettings);
     FlightRepository   = new FlightRepository(dbSettings);
     HotelRepository    = new HotelRepository(dbSettings);
     CityWalkRepository = new CityWalkRepository(dbSettings);
     PoiRepository      = new PoiRepository(dbSettings);
     DayPlanRepository  = new DayPlanRepository(dbSettings);
     TourRepository     = new TourRepository(dbSettings);
     ListsRepository    = new ListsRepository(dbSettings);
     HotelsApiClient    = new HotelsApiClient();
     TriposoApiClient   = new TriposoApiClient();
 }
예제 #2
0
 public HotelsService()
 {
     HotelsApiClient = new HotelsApiClient();
 }