public FlightsControllerTest() { // Could be injected this.flightApiService = new FlightApiService(); this.aircraftApiService = new AircraftApiService(); this.airportApiService = new AirportApiService(); }
public AirportsController(IAirportApiService airportApiService) { this.airportApiService = airportApiService; }
public FlightsController(IFlightApiService flightApiService, IAirportApiService airportApiService, IAircraftApiService aircraftApiService) { this.flightApiService = flightApiService; this.airportApiService = airportApiService; this.aircraftApiService = aircraftApiService; }