示例#1
0
 public void RegistrarNip(string nipAcceso)
 {
     ReqRegistrarNip req = new ReqRegistrarNip();
     req.nipSupernet = nipAcceso;
     Services.RegistrarNip(base.ServiceRequest, ResponseRegistrarNip, req);
 }
示例#2
0
        public static void RegistrarNip(ServiceRequest2 serviceRequest, ServiceRequestEventHandler<DtoRegistrarNip> asyncCallback, ReqRegistrarNip requestData)
        {
#if OFFLINE
            serviceRequest.BeginWebRequestOffline<ResRegistrarNip, DtoRegistrarNip>(service._serviceRegistrarNipAcceso, asyncCallback, json._jsonRegistrarNipAcceso);
#else
            new Thread(() => { serviceRequest.BeginWebRequest<ResRegistrarNip, DtoRegistrarNip, ReqRegistrarNip>(service._serviceRegistrarNipAcceso, asyncCallback, requestData); }).Start();
#endif
        }