Method | Description | |
---|---|---|
Create ( int id, int templateId ) : System.Web.Mvc.ActionResult | ||
Index ( int id ) : System.Web.Mvc.ActionResult | ||
LoadOldTemplate ( int templateId ) : JsonNetResult |
Load the text of a specific template
|
|
LoadOldTemplates ( int templateTypeId ) : JsonNetResult |
Load a list of old templates that we can copy from
|
|
LoadTemplate ( int templateId, int ceremonyId ) : JsonNetResult | ||
TemplateController ( ILetterGenerator letterGenerator, ICeremonyService ceremonyService ) : System |
Method | Description | |
---|---|---|
Create ( Commencement.Core.Domain.Template template ) : System.Web.Mvc.ActionResult | ||
SendTestEmail ( string subject, string message ) : Task |
||
ValidateBody ( Commencement.Core.Domain.Template template ) : string |
public Create ( int id, int templateId ) : System.Web.Mvc.ActionResult | ||
id | int | |
templateId | int | |
return | System.Web.Mvc.ActionResult |
public Index ( int id ) : System.Web.Mvc.ActionResult | ||
id | int | |
return | System.Web.Mvc.ActionResult |
public LoadOldTemplate ( int templateId ) : JsonNetResult | ||
templateId | int | |
return | JsonNetResult |
public LoadOldTemplates ( int templateTypeId ) : JsonNetResult | ||
templateTypeId | int | Template Type Id |
return | JsonNetResult |
public LoadTemplate ( int templateId, int ceremonyId ) : JsonNetResult | ||
templateId | int | |
ceremonyId | int | |
return | JsonNetResult |
public TemplateController ( ILetterGenerator letterGenerator, ICeremonyService ceremonyService ) : System | ||
letterGenerator | ILetterGenerator | |
ceremonyService | ICeremonyService | |
return | System |