Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

EmailTemplateController

API reference for EmailTemplateController in Vendr, the eCommerce solution for Umbraco v8+

EmailTemplateController

public class EmailTemplateController : VendrAuthorizedJsonControllerBase

Inheritance

Namespace

Constructors

EmailTemplateController

public EmailTemplateController(UmbracoControllerContext vendrContext, IStoreService storeService, 
    IEmailTemplateService emailTemplateService, IOrderService orderService, 
    IUnitOfWorkProvider uowProvider)

Methods

CreateEmailTemplate

public EmailTemplateEditDto CreateEmailTemplate(Guid storeId)

DeleteEmailTemplate

public HttpResponseMessage DeleteEmailTemplate(Guid emailTemplateId)

GetEmailTemplate

public EmailTemplateEditDto GetEmailTemplate(Guid emailTemplateId)

GetEmailTemplateCount

public int GetEmailTemplateCount(Guid storeId, 
    TemplateCategory? category = default(TemplateCategory?))

GetEmailTemplates

public IEnumerable<EmailTemplateBasicDto> GetEmailTemplates(Guid storeId, 
    TemplateCategory? category = default(TemplateCategory?))

SaveEmailTemplate

public EmailTemplateEditDto SaveEmailTemplate(EmailTemplateSaveDto emailTemplate)

Edit this page on GitHub

Site + logo design © 2021 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.