Beispiel #1
0
        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");
Beispiel #3
0
 public static IPayloadHttpRequest Put(this IHttpRequestFactory requestFactory, string url) => requestFactory.Put(url.ToUrl());