Пример #1
0
        public void WhenIUpdateDataThruPutAsyncAction(Table table)
        {
            UpdateOrder       request = table.CreateSet <UpdateOrder>().Single();
            SoapServiceClient client  = GetClient();

            client.PutAsync(request).Wait();
        }
Пример #2
0
        public void WhenIUpdateDataThruPutAsyncActionWithResponse(Table table)
        {
            UpdateOrder       request = table.CreateSet <UpdateOrder>().Single();
            SoapServiceClient client  = GetClient();
            bool response             = client.PutAsync <bool>(request).Result;

            ScenarioContext.Current[ResopnseKey] = response;
        }