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); }
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."); } }