Ejemplo n.º 1
0
        public TaxaJurosApiService(HttpClient httpClient, TaxaJurosSettings settings)
        {
            httpClient.BaseAddress = new Uri(settings.BaseAddress);
            httpClient.DefaultRequestHeaders.Add("Accept", "application/json");

            this.httpClient = httpClient;
        }
 public CalculaJurosController(IOptions <TaxaJurosSettings> taxaJurosSettings)
 {
     _taxaJurosSettings = taxaJurosSettings.Value;
 }