Interface INewsletterMailingListStore
Represents a store for mailing list.
Namespace: DataWeb.Newsletter
Assembly: DataWeb.Core.dll
Syntax
public interface INewsletterMailingListStore
Properties
Name
Gets the name of the mailing list store.
Declaration
string Name { get; }
Property Value
Type |
---|
string |
Methods
GetMailingListAsync(NewsletterMailingListFilter)
Retrieves a single mailing list data object that matches the specified filter criteria.
Declaration
Task<NewsletterMailingListData> GetMailingListAsync(NewsletterMailingListFilter filter)
Parameters
Type | Name | Description |
---|---|---|
NewsletterMailingListFilter | filter | The NewsletterMailingListFilter to use when retrieving the mailing list. |
Returns
Type | Description |
---|---|
Task<NewsletterMailingListData> | A task that represents the asynchronous operation. The task result contains the mailing list data object that matches the specified filter criteria. |
GetMailingListsAsync(NewsletterMailingListFilter)
Retrieves a list of mailing list data objects that match the specified filter criteria.
Declaration
Task<IEnumerable<NewsletterMailingListData>> GetMailingListsAsync(NewsletterMailingListFilter filter)
Parameters
Type | Name | Description |
---|---|---|
NewsletterMailingListFilter | filter | The NewsletterMailingListFilter to use when retrieving mailing lists. |
Returns
Type | Description |
---|---|
Task<IEnumerable<NewsletterMailingListData>> | A task that represents the asynchronous operation. The task result contains the list of mailing list data objects that match the specified filter criteria. |