private async Task<IuguClient> PutClient(IuguClient client)
        {
            var request = CreateRequest("/customers/{id}", Method.PUT).AddUrlSegment("id", client.Id).AddJsonBody(client);

            return (await _httpClient.ExecuteTaskAsync<IuguClient>(request)).Data;
        }
        private async Task<IuguClient> PostClient(IuguClient client)
        {
            var request = CreateRequest("/customers", Method.POST).AddJsonBody(client);

            return (await _httpClient.ExecuteTaskAsync<IuguClient>(request)).Data;
        }
 public IuguClient UpdateClientSync(IuguClient client)
     => PutClient(client).Result;
 public async Task<IuguClient> UpdateClient(IuguClient client)
     => await PutClient(client);
 public IuguClient CreateClientSync(IuguClient client)
     => PostClient(client).Result;
 public async Task<IuguClient> CreateClient(IuguClient client)
     => await PostClient(client);