Esempio n. 1
0
        //internal bool CreateIdentityDoc(List<ClientInfo> docs)
        //{
        //    if (docs == null | docs?.Count == 0)
        //        return false;

        //    bool res = true;
        //    foreach (ClientInfo doc in docs)
        //    {
        //        var insertIdDocs = SqlQueryBuilder.InsertIdentityDoc(doc, DBConnection);
        //        res &= CommitDML(insertIdDocs);
        //    }
        //    return res;
        //}

        public bool DeleteDocsForId(int?fidJournal)
        {
            var delete = SqlQueryBuilder.DeleteDocsForId(fidJournal, DBConnection);

            return(CommitDML(delete));
        }