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); } }
public IAsyncResult BeginGetLog(GetLogRequest requestObject) { JObject request = JObject.FromObject(requestObject); return BeginMethod(Functions.GetLog, request, ParameterValidator.GetLogCheckRequest, GetLogCallBackMethod); }