예제 #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;
 }