public ServiceBase(ApiConfiguration configuration) { Configuration = configuration; Client = new HttpClient(); Client.BaseAddress = Configuration.GetUri(); Client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json")); }