Ejemplo n.º 1
0
 /// <summary>
 /// 删除用户
 /// </summary>
 /// <param name="id">用户数字ID</param>
 /// <param name="deleteInfo">是否删除用户的文档评论等相关信息</param>
 public void Delete(int id, bool deleteInfo)
 {
     dal.Delete(id);
     if (deleteInfo)
     {
         //
         //TODO:
         //
         // ArchiveBLL bll = new ArchiveBLL();
         //bll.DeleteMemberArchive(id);
         CommentBll cbll = new CommentBll();
         cbll.DeleteMemberComments(id);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 删除用户
 /// </summary>
 /// <param name="id">用户数字ID</param>
 /// <param name="deleteInfo">是否删除用户的文档评论等相关信息</param>
 public void Delete(int id,bool deleteInfo)
 {
     dal.Delete(id);
     if (deleteInfo)
     {
         //
         //TODO:
         //
         // ArchiveBLL bll = new ArchiveBLL();
         //bll.DeleteMemberArchive(id);
         CommentBll cbll = new CommentBll();
         cbll.DeleteMemberComments(id);
     }
 }