Exemple #1
0
        public void WhenISendDeleteRequestByIdThruDeleteAsyncAction(int id)
        {
            var request = new DeleteOrderById
            {
                Id = id
            };
            SoapServiceClient client = GetClient();

            client.DeleteAsync(request).Wait();
        }
Exemple #2
0
        public void WhenISendDeleteRequestByIdThruDeleteAsyncWithResponseAction(int id)
        {
            var request = new DeleteOrderById
            {
                Id = id
            };
            SoapServiceClient client = GetClient();
            bool response            = client.DeleteAsync <bool>(request).Result;

            ScenarioContext.Current[ResopnseKey] = response;
        }