You are here: RainWorx.FrameWorx.MVC Namespaces > RainWorx.FrameWorx.MVC.Controllers > AccountController Class > SetEventsArchived Method

AccountControllerSetEventsArchived Method

AuctionWorx 3.5 API
Processes request to set the status of one or more events to "Archived"

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

Syntax

C#
public ActionResult SetEventsArchived(
	string[] EventIDs,
	bool archived,
	int? page,
	int? SortFilterOptions,
	string ViewFilterOption,
	string returnUrl
)

Parameters

EventIDs
Type: SystemString
array of event IDs
archived
Type: SystemBoolean
true for archived, false for NOT archived
page
Type: SystemNullableInt32
the page index to redirect to
SortFilterOptions
Type: SystemNullableInt32
the sort option to redirect to
ViewFilterOption
Type: SystemString
the filter option to redirect to
returnUrl
Type: SystemString
the url to return to, optional

Return Value

Type: ActionResult
if returnUrl is specified, redirect to returnUrl, else if archived is true, redirect to /Account/EventsClosed, else redirect to /Account/EventsArchived
See Also

Reference

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