Esempio n. 1
0
 public ParamsRequestBody <T> Build <T>(T requestParams)
 {
     return(new ParamsRequestBody <T>()
     {
         JsonRpc = _serviceConfiguration.Version,
         Method = _serviceConfiguration.ResolveMethod <T>(),
         AccessToken = _webConfiguration.AccessToken,
         Params = requestParams,
         Id = 1
     });
 }