private async void GetAnswer() { var serviceClient = new CompositeTypeServiceClient(); var res = await serviceClient.EnumTypeAsync(AnswerRequest); AnswerResponce = res; }
private async void GetCompositeType() { var serviceClient = new CompositeTypeServiceClient(); var arg = new CompositeType { StringValue = StringRequest, }; var res = await serviceClient.CompositeTypeAsync(arg); StringResponce = res.StringValue; }