Esempio n. 1
0
        public async Task AcceptAsync(
            [Summary("The ID value of the campaign to be accepted.")]
            long campaignId,
            [Summary("Whether to bypass the time restriction on campaign acceptance")]
            bool force = false)
        {
            await PromotionsService.AcceptCampaignAsync(campaignId, force);

            await Context.AddConfirmation();
        }
Esempio n. 2
0
 public Task Accept(
     [Summary("The ID value of the campaign to be accepted.")]
     long campaignId,
     [Summary("Whether to bypass the time restriction on campaign acceptance")]
     bool force = false)
 => PromotionsService.AcceptCampaignAsync(campaignId, force);
Esempio n. 3
0
 public Task Accept(
     [Summary("The ID value of the campaign to be accepted.")]
     long campaignId)
 => PromotionsService.AcceptCampaignAsync(campaignId);