Ejemplo n.º 1
0
        bool IJobAdFoldersQuery.IsInFolder(IMember member, Guid folderId, Guid jobAdId)
        {
            var folder = _jobAdListsQuery.GetList <JobAdFolder>(folderId);

            return(CanAccessFolder(member, folder) &&
                   _jobAdListsQuery.IsListed(folderId, NotIfInListTypes, jobAdId));
        }
Ejemplo n.º 2
0
 bool IJobAdBlockListsQuery.IsBlocked(IMember member, Guid jobAdId)
 {
     return(member != null &&
            _jobAdListsQuery.IsListed(member.Id, ListTypes, null, jobAdId));
 }
Ejemplo n.º 3
0
 bool IJobAdFlagListsQuery.IsFlagged(IMember member, Guid jobAdId)
 {
     return(member != null &&
            _jobAdListsQuery.IsListed(member.Id, ListTypes, NotIfInListTypes, jobAdId));
 }