public ApiTripController(DBConnectionInfo dBConnectionInfo, string apiEndPoint) : base(dBConnectionInfo) { endPoint = apiEndPoint; tripStore = new TripStore(endPoint); tripPointStore = new TripPointStore(endPoint); poiStore = new PoiStore(endPoint); userStore = new UserStore(endPoint); }
public ApiTripController(DBConnectionInfo dBConnectionInfo, string UserApiEndPoint, string PoiApiEndPoint, string TripsApiEndPoint) : base(dBConnectionInfo) { userApiEndPoint = UserApiEndPoint; poiApiEndPoint = PoiApiEndPoint; tripsApiEndPoint = TripsApiEndPoint; tripStore = new TripStore(tripsApiEndPoint); tripPointStore = new TripPointStore(tripsApiEndPoint); poiStore = new PoiStore(poiApiEndPoint); userStore = new UserStore(userApiEndPoint); }