Ejemplo n.º 1
0
        //ClientSettings _clientSettings;

        public ConfigClient(IHttpRestClient restClient, ILogger <ConfigClient> logger, ICacheIsKing cache)
        {
            _restClient = restClient;
            _logger     = logger;
            _cache      = cache;
            // _clientSettings = GetClientSettings();
        }
Ejemplo n.º 2
0
 public DogService(IHttpRestClient restClient, ILogger <DogService> logger, IOptions <DogApiSettings> settings, ICacheIsKing cache)
 {
     _restClient = restClient;
     _logger     = logger;
     _settings   = settings;
     Cache       = cache;
 }