public JourneyPlannerController(IJourneyPlanner tubeJourneyPlanner, IStationValidator stationValidator) { this.tubeJourneyPlanner = tubeJourneyPlanner; this.stationValidator = stationValidator; }
public JourneyPlannerController() { this.tubeJourneyPlanner = new TubeJourneyPlanner(); this.stationValidator = new StationValidator(); }