Class NewsletterRecordPublicAppService
Inheritance
NewsletterRecordPublicAppService
Implements
IApplicationService
IRemoteService
Assembly: Volo.CmsKit.Pro.Public.Application.dll
Syntax
public class NewsletterRecordPublicAppService : PublicAppService, INewsletterRecordPublicAppService, IApplicationService, IRemoteService
Constructors
NewsletterRecordPublicAppService(INewsletterPreferenceDefinitionStore, INewsletterRecordRepository, NewsletterRecordManager, IEmailSender, ITemplateRenderer, SecurityCodeProvider, IAppUrlProvider)
Declaration
public NewsletterRecordPublicAppService(INewsletterPreferenceDefinitionStore newsletterPreferenceDefinitionStore, INewsletterRecordRepository newsletterRecordsRepository, NewsletterRecordManager newsletterRecordsManager, IEmailSender emailSender, ITemplateRenderer templateRenderer, SecurityCodeProvider securityCodeProvider, IAppUrlProvider appUrlProvider)
Parameters
Properties
AppUrlProvider
Declaration
protected IAppUrlProvider AppUrlProvider { get; }
Property Value
Type |
Description |
IAppUrlProvider |
|
EmailSender
Declaration
protected IEmailSender EmailSender { get; }
Property Value
Type |
Description |
IEmailSender |
|
NewsletterPreferenceDefinitionStore
Declaration
protected INewsletterPreferenceDefinitionStore NewsletterPreferenceDefinitionStore { get; }
Property Value
NewsletterRecordsManager
Declaration
protected NewsletterRecordManager NewsletterRecordsManager { get; }
Property Value
NewsletterRecordsRepository
Declaration
protected INewsletterRecordRepository NewsletterRecordsRepository { get; }
Property Value
SecurityCodeProvider
Declaration
protected SecurityCodeProvider SecurityCodeProvider { get; }
Property Value
TemplateRenderer
Declaration
protected ITemplateRenderer TemplateRenderer { get; }
Property Value
Type |
Description |
ITemplateRenderer |
|
Methods
Declaration
public virtual Task CreateAsync(CreateNewsletterRecordInput input)
Parameters
Returns
GetNewsletterPreferencesAsync(string)
Declaration
public virtual Task<List<NewsletterPreferenceDetailsDto>> GetNewsletterPreferencesAsync(string emailAddress)
Parameters
Type |
Name |
Description |
string |
emailAddress |
|
Returns
GetOptionByPreferenceAsync(string)
Declaration
public virtual Task<NewsletterEmailOptionsDto> GetOptionByPreferenceAsync(string preference)
Parameters
Type |
Name |
Description |
string |
preference |
|
Returns
Declaration
public virtual Task UpdatePreferencesAsync(UpdatePreferenceRequestInput input)
Parameters
Returns
Implements
Volo.Abp.Application.Services.IApplicationService
Volo.Abp.IRemoteService