private async Task <HttpResponseResult <FileConfiguration> > AddOrUpdateConfiguration(FileConfiguration data, OcelotAdminToken tokenInfo) { var result = await _httpUtilityService.PostAsync <FileConfiguration>("/administration/configuration", data, tokenInfo?.AccessToken); return(result); }
private async Task <FileConfiguration> GetConfiguration(OcelotAdminToken tokenInfo) { var result = await _httpUtilityService.GetAsync <FileConfiguration>("/administration/configuration", tokenInfo?.AccessToken); return(result); }