/// <inheritdoc /> public async Task <IReadOnlyCollection <PromotionCampaignSummary> > SearchCampaignsAsync(PromotionCampaignSearchCriteria searchCriteria) { AuthorizationService.RequireClaims(AuthorizationClaim.PromotionsRead); return(await PromotionCampaignRepository.SearchSummariesAsync(searchCriteria)); }
/// <inheritdoc /> public Task <IReadOnlyCollection <PromotionCampaignSummary> > SearchCampaignsAsync(PromotionCampaignSearchCriteria searchCriteria) => PromotionCampaignRepository.SearchSummariesAsync(searchCriteria);