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

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