/// <inheritdoc /> public Task <ModerationActionSummary> GetModerationActionSummaryAsync(long moderationActionId) { return(ModerationActionRepository.ReadSummaryAsync(moderationActionId)); }
/// <inheritdoc /> public Task <ModerationActionSummary> GetModerationActionSummaryAsync(long moderationActionId) { AuthorizationService.RequireClaims(AuthorizationClaim.ModerationRead); return(ModerationActionRepository.ReadSummaryAsync(moderationActionId)); }
/// <inheritdoc /> public async Task <ServiceResult <ModerationActionSummary> > GetModerationActionSummaryAsync(long moderationActionId) => await AuthorizationService.CheckClaims(AuthorizationClaim.ModerationRead) .ShortCircuitAsync(ModerationActionRepository.ReadSummaryAsync(moderationActionId));