C# Class Gramps.Controllers.EmailTemplateController

Inheritance: ApplicationController
显示文件 Open project: ucdavis/Gramps

Public Methods

Method Description
Edit ( int id, int templateId, int callForProposalId ) : System.Web.Mvc.ActionResult

#3 GET: /EmailTemplate/Edit/5

EmailTemplateController ( IRepository emailtemplateRepository, IAccessService accessService ) : System
Index ( int templateId, int callForProposalId ) : System.Web.Mvc.ActionResult

#1 GET: /EmailTemplate/

Private Methods

Method Description
Edit ( int id, int templateId, int callForProposalId, EmailTemplate emailtemplate ) : System.Web.Mvc.ActionResult
GetAbsoluteUrl ( System.Web.HttpRequestBase request, System.Web.Mvc.UrlHelper url, string relative ) : string
SendTestEmail ( string subject, string message, string footerText ) : System.Web.Mvc.JsonResult
SetEmailTemplateViewExtras ( EmailTemplate emailtemplate, EmailTemplateViewModel viewModel ) : void
Token ( string token ) : string
TransferValues ( EmailTemplate source, EmailTemplate destination ) : void

Transfer editable values from source to destination

Method Details

Edit() public method

#3 GET: /EmailTemplate/Edit/5
public Edit ( int id, int templateId, int callForProposalId ) : System.Web.Mvc.ActionResult
id int
templateId int
callForProposalId int
return System.Web.Mvc.ActionResult

EmailTemplateController() public method

public EmailTemplateController ( IRepository emailtemplateRepository, IAccessService accessService ) : System
emailtemplateRepository IRepository
accessService IAccessService
return System

Index() public method

#1 GET: /EmailTemplate/
public Index ( int templateId, int callForProposalId ) : System.Web.Mvc.ActionResult
templateId int
callForProposalId int
return System.Web.Mvc.ActionResult