Пример #1
0
        private async Task DeleteAsync()
        {
            var result = await _api.DeleteAsync("Echo", new Dictionary <string, string> {
                { "message", "Five" }
            });

            Console.WriteLine($"Delete result - {result}");
        }
Пример #2
0
        public async Task DeleteGood()
        {
            var message    = Guid.NewGuid().ToString();
            var parameters = new Dictionary <string, string> {
                { "message", message }, { "abc", "123" }
            };
            var response = await _api.DeleteAsync("Echo", parameters).ConfigureAwait(false);

            Assert.Equal($"[DELETE] {message}", response);
        }