Exemple #1
0
 private string GetObjectAsString(object requestModel)
 {
     return(ContentAdapter.ConvertToJsonString(requestModel));
 }
Exemple #2
0
 private T GetResponseAsObject <T>(string responseAsString)
 {
     return(ContentAdapter.JsonStringToObject <T>(responseAsString));
 }