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>()); }
IList <Guid> ICandidateFlagListsQuery.GetFlaggedCandidateIds(IEmployer employer) { return(employer == null ? new List <Guid>() : _contenderListsQuery.GetListedContenderIds(employer.Id, null, ListTypes, NotIfInListTypes)); }
IList <Guid> ICandidateBlockListsQuery.GetBlockedCandidateIds(IEmployer employer) { return(employer == null ? new List <Guid>() : _contenderListsQuery.GetListedContenderIds(employer.Id, employer.Organisation.Id, ListTypes, null)); }