C# Class KnowYourTurf.Web.Controllers.EmailTemplateController

Inheritance: KYTController
ファイルを表示 Open project: reharik/KnowYourTurf

Public Methods

Method Description
AddEdit ( ViewModel input ) : System.Web.Mvc.ActionResult
Delete ( ViewModel input ) : System.Web.Mvc.ActionResult
Display ( ViewModel input ) : System.Web.Mvc.ActionResult
EmailTemplateController ( IRepository repository, ISaveEntityService saveEntityService ) : System.Web.Mvc

Private Methods

Method Description
Save ( EmailTemplateViewModel input ) : System.Web.Mvc.ActionResult
mapToDomain ( EmailTemplateViewModel input, EmailTemplate emailTemplate ) : EmailTemplate

Method Details

AddEdit() public method

public AddEdit ( ViewModel input ) : System.Web.Mvc.ActionResult
input KnowYourTurf.Core.ViewModel
return System.Web.Mvc.ActionResult

Delete() public method

public Delete ( ViewModel input ) : System.Web.Mvc.ActionResult
input KnowYourTurf.Core.ViewModel
return System.Web.Mvc.ActionResult

Display() public method

public Display ( ViewModel input ) : System.Web.Mvc.ActionResult
input KnowYourTurf.Core.ViewModel
return System.Web.Mvc.ActionResult

EmailTemplateController() public method

public EmailTemplateController ( IRepository repository, ISaveEntityService saveEntityService ) : System.Web.Mvc
repository IRepository
saveEntityService ISaveEntityService
return System.Web.Mvc