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