Exemplo n.º 1
0
 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;
 }
Exemplo n.º 3
0
 public FlightController(IFlightServices flightService)
 {
     this._flightService = flightService;
 }
Exemplo n.º 4
0
 public FlightsController(IFlightServices flightServices)
 {
     _flightServices = flightServices;
 }