Пример #1
0
 public void DesbloquearToken(string tok1,string tok2)
 {
     this.token1 = tok1;
     this.token2 = tok2;
     ReqDesbloqueoToken req = new ReqDesbloqueoToken() { token1 = this.token1, token2 = this.token2 };
     Services.DesbloqueoToken(base.ServiceRequest, ResponseDesbloqueoToken, req);
     
 }
Пример #2
0
        public static void DesbloqueoToken(ServiceRequest2 serviceRequest, ServiceRequestEventHandler<DtoDesbloqueoToken> asyncCallback, ReqDesbloqueoToken requestData)
        {
#if OFFLINE
            serviceRequest.BeginWebRequestOffline<ResDesbloqueoToken, DtoDesbloqueoToken>(Services._serviceDesbloqueoToken, asyncCallback, json._jsonDebloqueoToken);
#else
            new Thread(() => { serviceRequest.BeginWebRequest<ResDesbloqueoToken, DtoDesbloqueoToken, ReqDesbloqueoToken>(service._serviceDesbloqueoToken, asyncCallback, requestData); }).Start();
#endif
        }