Esempio n. 1
0
 public Response<GetLogResult> GetLog(GetLogRequest requestObject)
 {
     JObject request = JObject.FromObject(requestObject);
     var result = Method(Functions.GetLog, request, ParameterValidator.GetLogCheckRequest);
     try
     {
         var response = JsonConvert.DeserializeObject<Response<GetLogResult>>(result.ToString());
         return response;
     }
     catch (Exception e)
     {
         return Response<GetLogResult>.BuildResponse(e);
     }
 }
Esempio n. 2
0
 public IAsyncResult BeginGetLog(GetLogRequest requestObject)
 {
     JObject request = JObject.FromObject(requestObject);
     return BeginMethod(Functions.GetLog, request, ParameterValidator.GetLogCheckRequest, GetLogCallBackMethod);
 }