public FlightsController(IFlightServices flightServices, IAirportServices airportServices, IAircraftServices aircraftServices) { _flightServices = flightServices ?? throw new ArgumentNullException("flightServices"); _airportServices = airportServices ?? throw new ArgumentNullException("airportServices"); _aircraftServices = aircraftServices ?? throw new ArgumentNullException("aircraftServices"); }
public FilghtsController(IFlightRepository flightRepository, IFlightServices flightServices) { _flightRepository = flightRepository; _flightServices = flightServices; }
public FlightController(IFlightServices flightService) { this._flightService = flightService; }
public FlightsController(IFlightServices flightServices) { _flightServices = flightServices; }