public RPiConnectionService(IAuthenticationService _auth, IRPiConnectionDatabaseService _rpiConDbService, IFlightplanService _fpService, ISendHttpService _sendHttpService) { this.auth = _auth; this.rpiConDbService = _rpiConDbService; this.fpService = _fpService; this.sendHttpService = _sendHttpService; }
/** * Constructor for dependency injection. */ public FlightplanController(IFlightplanService _flightplanService, IAuthenticationService _auth, ICommandService _commandService) { this.flightplanService = _flightplanService; this.commandService = _commandService; this.auth = _auth; }