Ejemplo n.º 1
0
 private IQueryable <ReadyToValidateParticipantDTO> CreateGetReadyToValidationParticipantDTOByParticipantIdQuery(int participantId)
 {
     return(ExchangeVisitorQueries.CreateGetReadyToValidateParticipantDTOsQuery(this.Context, GetEarliestNeedsValidationInfoParticipantDate()).Where(x => x.ParticipantId == participantId));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Returns a paged, filtered, sorterd collection of participants that have a sevis id and whose start date is at least 30 days away and are ready to start the sevis validation process.
 /// </summary>
 /// <param name="queryOperator">The query operator.</param>
 /// <returns>The participants that have a sevis id and whose start date has passed </returns>
 public Task <PagedQueryResults <ReadyToValidateParticipantDTO> > GetReadyToValidateParticipantsAsync(QueryableOperator <ReadyToValidateParticipantDTO> queryOperator)
 {
     return(ExchangeVisitorQueries.CreateGetReadyToValidateParticipantDTOsQuery(this.Context, GetEarliestNeedsValidationInfoParticipantDate(), queryOperator)
            .ToPagedQueryResultsAsync(queryOperator.Start, queryOperator.Limit));
 }