/// <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); } }
/// <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); } }