IList <Guid> ICandidateFoldersQuery.GetInFolderCandidateIds(IEmployer employer, Guid folderId)
        {
            var folder = _contenderListsQuery.GetList <CandidateFolder>(folderId);

            return(CanAccessFolder(employer, folder)
                ? _contenderListsQuery.GetListedContenderIds(folderId, NotIfInListTypes)
                : new List <Guid>());
        }
Exemple #2
0
 IList <Guid> ICandidateFlagListsQuery.GetFlaggedCandidateIds(IEmployer employer)
 {
     return(employer == null
         ? new List <Guid>()
         : _contenderListsQuery.GetListedContenderIds(employer.Id, null, ListTypes, NotIfInListTypes));
 }
Exemple #3
0
 IList <Guid> ICandidateBlockListsQuery.GetBlockedCandidateIds(IEmployer employer)
 {
     return(employer == null
         ? new List <Guid>()
         : _contenderListsQuery.GetListedContenderIds(employer.Id, employer.Organisation.Id, ListTypes, null));
 }