Exemplo n.º 1
0
        public void ClearDocAttrList(DocListAttribute attr)
        {
            if (attr.AddedDocIds != null)
            {
                attr.AddedDocIds.Clear();
            }
            if (attr.AddedDocs != null)
            {
                attr.AddedDocs.Clear();
            }

            _docRepo.ClearAttrDocList(Id, attr.AttrDef.Id);

/*
 *          var list = GetAttrDocIdList(attr);
 *
 *          //OutputLog("ClearDocAttrList");
 *          foreach (var docId in list)
 *          {
 *              _docRepo.RemoveDocFromList(docId, Doc, attr);
 *          }
 */
        }