Exemple #1
0
 public async Task <IEnumerable <ForumThreadModel> > ListForumThreads(Guid?forumGuid, string forumUniqueName, bool isForumAdmin)
 {
     return((await _forumDal.ListForumThreads(forumGuid, forumUniqueName)).Where(ft => isForumAdmin || ft.VisibleFlag));
 }