コード例 #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 TravelInfoService()
 {
     TriposoApiClient = new TriposoApiClient();
 }