Esempio n. 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>());
        }
Esempio n. 2
0
 IList <Guid> IJobAdBlockListsQuery.GetBlockedJobAdIds(IMember member)
 {
     return(member == null
         ? new List <Guid>()
         : _jobAdListsQuery.GetListedJobAdIds(member.Id, ListTypes, null));
 }
Esempio n. 3
0
 IList <Guid> IJobAdFlagListsQuery.GetFlaggedJobAdIds(IMember member)
 {
     return(member == null
         ? new List <Guid>()
         : _jobAdListsQuery.GetListedJobAdIds(member.Id, ListTypes, NotIfInListTypes));
 }