Exemple #1
0
        /// <inheritdoc />
        public async Task <IReadOnlyCollection <PromotionCampaignSummary> > SearchCampaignsAsync(PromotionCampaignSearchCriteria searchCriteria)
        {
            AuthorizationService.RequireClaims(AuthorizationClaim.PromotionsRead);

            return(await PromotionCampaignRepository.SearchSummariesAsync(searchCriteria));
        }
Exemple #2
0
 /// <inheritdoc />
 public Task <IReadOnlyCollection <PromotionCampaignSummary> > SearchCampaignsAsync(PromotionCampaignSearchCriteria searchCriteria)
 => PromotionCampaignRepository.SearchSummariesAsync(searchCriteria);