예제 #1
0
        /// <inheritdoc />
        public async Task <PromotionActionSummary> GetPromotionActionSummaryAsync(long promotionActionId)
        {
            AuthorizationService.RequireClaims(AuthorizationClaim.PromotionsRead);

            return(await PromotionActionRepository.ReadSummaryAsync(promotionActionId));
        }
예제 #2
0
 /// <inheritdoc />
 public Task <PromotionActionSummary> GetPromotionActionSummaryAsync(long promotionActionId)
 => PromotionActionRepository.ReadSummaryAsync(promotionActionId);