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

EventControllerRequestPublishEvent Method

AuctionWorx 3.5 API
Processes request to send notification to admin request event puiblication

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

Syntax

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

Parameters

id
Type: SystemInt32
the ID of the event to be published
returnUrl
Type: SystemString
optional url to redirect to upon failure

Return Value

Type: ActionResult
Redirect to 'My Account > Events > Drafts' by default, or redirect to returnUrl if provided
See Also

Reference

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