Beispiel #1
0
        public async Task RejectAsync(
            [Summary("The ID value of the campaign to be rejected.")]
            long campaignId)
        {
            await PromotionsService.RejectCampaignAsync(campaignId);

            await Context.AddConfirmation();
        }
Beispiel #2
0
 public Task Reject(
     [Summary("The ID value of the campaign to be rejected.")]
     long campaignId)
 => PromotionsService.RejectCampaignAsync(campaignId);