public async Task <bool> Configure(DbConfig dbConfig, string accessToken) { var response = await httpRequestFactory.Put( $"{apiSettings.CountryApiUrl}/configuration", dbConfig, accessToken ); return(response.IsSuccessStatusCode); }
protected override IHttpRequest MakeRequestForCommonTests(IHttpRequestFactory http) => http.Put("/some-resource");
public static IPayloadHttpRequest Put(this IHttpRequestFactory requestFactory, string url) => requestFactory.Put(url.ToUrl());