Beispiel #1
0
 public void GetCatalogoCompaniasCelular2()
 {
     ReqGetCatalogoCompaniasCelular2 reqGCCC2 = new ReqGetCatalogoCompaniasCelular2();
     reqGCCC2.token = string.IsNullOrEmpty(this.Token) ? string.Empty : this.Token;
     reqGCCC2.tipoOTP = string.IsNullOrEmpty(this.TipoOTP) ? string.Empty : this.TipoOTP;
     reqGCCC2.fechaHora = string.IsNullOrEmpty(this.FechaHora) ? string.Empty : this.FechaHora;
     Services.GetCatalogoCompaniasCelular2(base.ServiceRequest, ResponseGetCatalogoCompaniasCelular2, reqGCCC2);
 }
Beispiel #2
0
        public static void GetCatalogoCompaniasCelular2(ServiceRequest2 serviceRequest, ServiceRequestEventHandler<List<CompaniaCelular>> asyncCallback, ReqGetCatalogoCompaniasCelular2 requestData)
        {
#if OFFLINE
            serviceRequest.BeginWebRequestOffline<ResGetCatalogoCompaniasCelular2, List<CompaniaCelular>>(Services._serviceGetCatalogoCompaniasCelular2, asyncCallback, json._jsonGetCatalogoCompaniasCelular2);
#else
            new Thread(() => { serviceRequest.BeginWebRequest<ResGetCatalogoCompaniasCelular2, List<CompaniaCelular>, ReqGetCatalogoCompaniasCelular2>(service._serviceGetCatalogoCompaniasCelular2, asyncCallback, requestData); }).Start();
#endif
        }