You are here: RainWorx.FrameWorx.MVC Namespaces > RainWorx.FrameWorx.MVC.Controllers > EventController Class > PublishEvent Method

EventControllerPublishEvent Method

AuctionWorx 3.5 API
Processes request to publish the specified auction event

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

Syntax

C#
public ActionResult PublishEvent(
	int id,
	string returnUrl
)

Parameters

id
Type: SystemInt32
the id of the specified auction event
returnUrl
Type: SystemString
optional url to redirect to upon failure

Return Value

Type: ActionResult
Redirect to 'My Account > Lots By Event' if successful, or if unsuccessful redirect to returnUrl if provided or 'Events > Drafts' if missing)
See Also

Reference

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