public Task Approve( [Summary("The ID value of the campaign to be commented upon")] long campaignId, [Remainder] [Summary("The content of the comment")] string content) => PromotionsService.AddCommentAsync(campaignId, PromotionSentiment.Approve, content);
public async Task AbstainAsync( [Summary("The ID value of the campaign to be commented upon")] long campaignId, [Remainder] [Summary("The content of the comment")] string content) { await PromotionsService.AddCommentAsync(campaignId, PromotionSentiment.Abstain, content); await Context.AddConfirmation(); }
public Task Approve( [Summary("The ID value of the campaign to be commented upon")] long campaignId) => PromotionsService.AddCommentAsync(campaignId, PromotionSentiment.Approve, DefaultApprovalMessage);