public ClientApiService(IConfiguration config, IHttpContextAccessor httpContextAccessor, AppSettingsViewModel appSettings) { _config = config; _httpContextAccessor = httpContextAccessor; _appSettings = appSettings; _client = AuthHelper.ClientBearear(_httpContextAccessor, _appSettings); }