public static DocsPaVO.ProfilazioneDinamica.Templates getTemplateFasc(string idProject) { using (DocsPaDB.TransactionContext transactionContext = new DocsPaDB.TransactionContext()) { try { DocsPaDB.Query_DocsPAWS.ModelFasc modelFascDB = new DocsPaDB.Query_DocsPAWS.ModelFasc(); DocsPaVO.ProfilazioneDinamica.Templates template = modelFascDB.getTemplateFasc(idProject); transactionContext.Complete(); return(template); } catch (Exception e) { logger.Debug("Errore in ProfilazioneFascicoli - metodo: getTemplateFasc", e); return(null); } } }