public ProjectAdoServices( IConfiguration configuration, IMapper mapper, IProcessAdoServices processAdoServices, ILogger <ProjectAdoServices> logger = null ) { _mapper = mapper; _processAdoServices = processAdoServices; _logger = logger; _adoConfig = configuration.GetSection(nameof(AdoConfig)).Get <AdoConfig>(); }
public ProcessAdoServices( IConfiguration configuration, IMapper mapper, ICacheProvider cacheProvider, IHttpClientFactory httpClientFactory, ILogger <ProcessAdoServices> logger = null) { _mapper = mapper; _cacheProvider = cacheProvider; _httpClientFactory = httpClientFactory; _logger = logger; _adoConfig = configuration.GetSection(nameof(AdoConfig)).Get <AdoConfig>(); DefAdoOrganization = configuration.GetValue <string>("DefAdoOrganization"); }