You are here: RainWorx.FrameWorx.MVC Namespaces > RainWorx.FrameWorx.MVC.Controllers > AdminController Class > SetEmailTemplateEnabled Method

AdminControllerSetEmailTemplateEnabled Method

AuctionWorx 3.5 API
Processes a request to enable or disable the specified email template

Namespace:  RainWorx.FrameWorx.MVC.Controllers
Assembly:  RainWorx.FrameWorx.MVC (in RainWorx.FrameWorx.MVC.dll) Version: 3.5

Syntax

C#
public ActionResult SetEmailTemplateEnabled(
	int id,
	bool enabled
)

Parameters

id
Type: SystemInt32
id of the specified email template
enabled
Type: SystemBoolean
true: enable the template, false: disable the template

Return Value

Type: ActionResult
View(List<EmailTemplate>)
See Also

Reference

Copyright © 2002-2022. RainWorx Software. All rights reserved.