//Aggiunge un singolo fascicolo all'area di scarto //OK public static string addDocumentiFascicoloInAreaScarto(string idProfile, string idProject, string docNumber, DocsPaVO.utente.InfoUtente infoUtente) { string result = String.Empty; using (DocsPaDB.TransactionContext transactionContext = new DocsPaDB.TransactionContext()) { DocsPaDB.Query_DocsPAWS.Fascicoli fasc = new DocsPaDB.Query_DocsPAWS.Fascicoli(); result = fasc.addDocumentiFascAreaScarto(idProfile, idProject, docNumber, infoUtente); if (result == "-1") { logger.Debug("Errore nel'inserimento del fascicolo in area di scarto (metodo: addAreaLavoroMethod)"); throw new Exception(); } transactionContext.Complete(); return(result); } }