public void RegistrarNip(string nipAcceso) { ReqRegistrarNip req = new ReqRegistrarNip(); req.nipSupernet = nipAcceso; Services.RegistrarNip(base.ServiceRequest, ResponseRegistrarNip, req); }
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 }