C# Class SpeakerNet.Services.MailTemplateService

Inheritance: IMailTemplateService
Show file Open project: dotnet-koelnbonn/SpeakerNet

Public Methods

Method Description
CreateMailTemplate ( CreateMailTemplateModel model ) : bool
FindDetailsMailTemplateModel ( System.Guid id ) : DetailsMailTemplateModel
FindEditMailTemplateModel ( System.Guid id ) : EditMailTemplateModel
GetListMailTemplateModel ( ) : IEnumerable
MailTemplateService ( IRepository repository ) : System
UpdateMailTemplate ( System.Guid id, EditMailTemplateModel model ) : bool

Private Methods

Method Description
FindMailTemplate ( System.Guid id ) : MailTemplate

Method Details

CreateMailTemplate() public method

public CreateMailTemplate ( CreateMailTemplateModel model ) : bool
model SpeakerNet.ViewModels.CreateMailTemplateModel
return bool

FindDetailsMailTemplateModel() public method

public FindDetailsMailTemplateModel ( System.Guid id ) : DetailsMailTemplateModel
id System.Guid
return SpeakerNet.ViewModels.DetailsMailTemplateModel

FindEditMailTemplateModel() public method

public FindEditMailTemplateModel ( System.Guid id ) : EditMailTemplateModel
id System.Guid
return SpeakerNet.ViewModels.EditMailTemplateModel

GetListMailTemplateModel() public method

public GetListMailTemplateModel ( ) : IEnumerable
return IEnumerable

MailTemplateService() public method

public MailTemplateService ( IRepository repository ) : System
repository IRepository
return System

UpdateMailTemplate() public method

public UpdateMailTemplate ( System.Guid id, EditMailTemplateModel model ) : bool
id System.Guid
model SpeakerNet.ViewModels.EditMailTemplateModel
return bool