static async Task Main(string[] args) { IConfiguration config = CreateConfig(); JobSettings settings = config.Get <JobSettings>(); var apiClient = new TodoApiClient(settings); await apiClient.ListTodosAsync(); }
public TodoApiClient(JobSettings settings) { _settings = settings; }