public MailChimpCampaignContent GetContent(string campaignId, CampaignContentOptions options = null) { const string Action = ContentAction; return _connector.Execute<MailChimpCampaignContent>(Action, new { cid = campaignId, options }); }
public Task<MailChimpCampaignContent> GetContentAsync(string campaignId, CampaignContentOptions options = null, CancellationToken cancellationToken = new CancellationToken()) { const string Action = ContentAction; return _connector.ExecuteAsync<MailChimpCampaignContent>(Action, new { cid = campaignId, options }, cancellationToken); }