コード例 #1
0
        public ConsoleClient(Options options, OpenFlightsData.OFData data)
        {
            var httpClient = FlysasLib.HttpClientFactory.CreateClient();

            this.client  = new SASRestClient(httpClient);
            this.options = options;
            this.data    = data;
        }
コード例 #2
0
 public HomeController(AwardContext context, SASRestClient client)
 {
     _client = client;
     _ctx    = context;
 }