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