public HomeController(IAirplaneClient airplanes, IAirplaneRepository airplaneRepository, ITSAClient airportClient, IAirportCodeClient airportCodeClient) { _airplanes = airplanes; _airplaneRepository = airplaneRepository; _airportClient = airportClient; _airportCodeClient = airportCodeClient; }
public HomeController(IAirplaneClient airplanes, IAirplaneRepository airplaneRepository, ITSAClient airportClient, IAirportCodeClient airportCodeClient, IOptions <APISecretConfig> googleClient) { _airplanes = airplanes; _airplaneRepository = airplaneRepository; _airportClient = airportClient; _airportCodeClient = airportCodeClient; _googleClient = googleClient.Value.GoogleKey; }
public HomeController(ITSAClient airportClient, IAirportCodeClient airportCodeClient) { _airportClient = airportClient; _airportCodeClient = airportCodeClient; }