bool IJobAdFoldersQuery.IsInFolder(IMember member, Guid folderId, Guid jobAdId) { var folder = _jobAdListsQuery.GetList <JobAdFolder>(folderId); return(CanAccessFolder(member, folder) && _jobAdListsQuery.IsListed(folderId, NotIfInListTypes, jobAdId)); }
bool IJobAdBlockListsQuery.IsBlocked(IMember member, Guid jobAdId) { return(member != null && _jobAdListsQuery.IsListed(member.Id, ListTypes, null, jobAdId)); }
bool IJobAdFlagListsQuery.IsFlagged(IMember member, Guid jobAdId) { return(member != null && _jobAdListsQuery.IsListed(member.Id, ListTypes, NotIfInListTypes, jobAdId)); }