Exemplo n.º 1
0
 public System.Threading.Tasks.Task <WcfRestfulClient.DataProvider.GetResponse> GetAsync(int id)
 {
     WcfRestfulClient.DataProvider.GetRequest inValue = new WcfRestfulClient.DataProvider.GetRequest();
     inValue.Body    = new WcfRestfulClient.DataProvider.GetRequestBody();
     inValue.Body.id = id;
     return(((WcfRestfulClient.DataProvider.IDataProvider)(this)).GetAsync(inValue));
 }
Exemplo n.º 2
0
 public WcfRestfulClient.DataProvider.UserInfo Get(int id)
 {
     WcfRestfulClient.DataProvider.GetRequest inValue = new WcfRestfulClient.DataProvider.GetRequest();
     inValue.Body    = new WcfRestfulClient.DataProvider.GetRequestBody();
     inValue.Body.id = id;
     WcfRestfulClient.DataProvider.GetResponse retVal = ((WcfRestfulClient.DataProvider.IDataProvider)(this)).Get(inValue);
     return(retVal.Body.GetResult);
 }
Exemplo n.º 3
0
 System.Threading.Tasks.Task <WcfRestfulClient.DataProvider.GetResponse> WcfRestfulClient.DataProvider.IDataProvider.GetAsync(WcfRestfulClient.DataProvider.GetRequest request)
 {
     return(base.Channel.GetAsync(request));
 }
Exemplo n.º 4
0
 WcfRestfulClient.DataProvider.GetResponse WcfRestfulClient.DataProvider.IDataProvider.Get(WcfRestfulClient.DataProvider.GetRequest request)
 {
     return(base.Channel.Get(request));
 }