Exemplo n.º 1
0
        /// <inheritdoc />
        public async Task <PromotionActionSummary> GetPromotionActionSummaryAsync(long promotionActionId)
        {
            AuthorizationService.RequireClaims(AuthorizationClaim.PromotionsRead);

            return(await PromotionActionRepository.ReadSummaryAsync(promotionActionId));
        }
Exemplo n.º 2
0
 /// <inheritdoc />
 public Task <PromotionActionSummary> GetPromotionActionSummaryAsync(long promotionActionId)
 => PromotionActionRepository.ReadSummaryAsync(promotionActionId);