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(); }
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);
public Task Accept( [Summary("The ID value of the campaign to be accepted.")] long campaignId) => PromotionsService.AcceptCampaignAsync(campaignId);