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

AdminControllerAddEnumeration Method

AuctionWorx 3.5 API
Processes request to add a new custom field enumeration value

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

Syntax

C#
public ActionResult AddEnumeration(
	int id,
	string Name,
	string Title,
	string Value,
	bool Enabled,
	string returnUrl
)

Parameters

id
Type: SystemInt32
ID of the custom field to which this enum will be assigned
Name
Type: SystemString
Name of the enum to be added
Title
Type: SystemString
Display name of the enum to be added
Value
Type: SystemString
Value of the enum to be added
Enabled
Type: SystemBoolean
Determines whether this enum if currently available for use
returnUrl
Type: SystemString
the optional url to retain in the redirect url upon success

Return Value

Type: ActionResult
Redirect to /Admin/EditField/[CustomFieldId]
See Also

Reference

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