Beispiel #1
0
 /// <inheritdoc />
 public Task <IReadOnlyCollection <ModerationActionSummary> > SearchModerationActionsAsync(ModerationActionSearchCriteria searchCriteria)
 => ModerationActionRepository.SearchSummariesAsync(searchCriteria);
Beispiel #2
0
 /// <inheritdoc />
 public async Task <ServiceResult <IReadOnlyCollection <ModerationActionSummary> > > SearchModerationActionsAsync(ModerationActionSearchCriteria searchCriteria)
 => await AuthorizationService.CheckClaims(AuthorizationClaim.ModerationRead)
 .ShortCircuitAsync(ModerationActionRepository.SearchSummariesAsync(searchCriteria));