示例#1
0
        IList <Guid> IJobAdFoldersQuery.GetInFolderJobAdIds(IMember member, Guid folderId)
        {
            var folder = _jobAdListsQuery.GetList <JobAdFolder>(folderId);

            return(CanAccessFolder(member, folder)
                ? _jobAdListsQuery.GetListedJobAdIds(folderId, NotIfInListTypes)
                : new List <Guid>());
        }
示例#2
0
 IList <Guid> IJobAdBlockListsQuery.GetBlockedJobAdIds(IMember member)
 {
     return(member == null
         ? new List <Guid>()
         : _jobAdListsQuery.GetListedJobAdIds(member.Id, ListTypes, null));
 }
示例#3
0
 IList <Guid> IJobAdFlagListsQuery.GetFlaggedJobAdIds(IMember member)
 {
     return(member == null
         ? new List <Guid>()
         : _jobAdListsQuery.GetListedJobAdIds(member.Id, ListTypes, NotIfInListTypes));
 }