示例#1
0
 public userServices.FileType downloadZipInvoice(userServices.ZipQueryType zq)
 {
     userServices.FileType zip = new userServices.FileType();
     try
     {
         zip = srv.DownloadZip(zq);
     }
     catch (Exception e)
     {
         Console.WriteLine("Exception:" + e);
         throw;
     }
     return(zip);
 }
示例#2
0
 public userServices.ZipQueryType setZipQuery(userServices.AutenticazioneType auth, String progr)
 {
     userServices.ZipQueryType z = new userServices.ZipQueryType();
     z.Autenticazione = auth;
     if (progr != null)
     {
         z.ProgressivoInvio = progr;
         return(z);
     }
     else
     {
         throw new Exception("Nessun progressivo inserito.");
     }
 }