示例#1
0
        public IEnumerable <ApplicationHousekeepingRequest> GetHousekeepingRequests()
        {
            var vacancyExpiryDate = GetHousekeepingDate();

            return(_apprenticeshipApplicationReadRepository
                   .GetDraftApplicationsForExpiredVacancies(vacancyExpiryDate)
                   .Select(each => new ApplicationHousekeepingRequest
            {
                ApplicationId = each,
                VacancyType = VacancyType.Apprenticeship
            }));
        }