Beispiel #1
0
 public SoapRut CtrRut(string rut)
 {
     SOAP.redesClient run = new SOAP.redesClient();
     if (rut == null)
     {
         rut = "";
     }
     return(new SoapRut()
     {
         Rut = run.validarut(rut)
     });
 }
Beispiel #2
0
 public SoapSaludo CtrSaludo(string nombres, string ap, string am, string sexo)
 {
     SOAP.redesClient name = new SOAP.redesClient();
     if (nombres == null)
     {
         nombres = "";
     }
     if (ap == null)
     {
         ap = "";
     }
     if (am == null)
     {
         am = "";
     }
     if (sexo == null)
     {
         sexo = " ";
     }
     return(new SoapSaludo()
     {
         Saludo = name.nombrepropio(nombres, ap, am, sexo)
     });
 }