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

AdminControllerBanners Method

AuctionWorx 3.5 API
Processes request to view/update banners

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

Syntax

C#
public ActionResult Banners(
	string bannerLocationFilter,
	int? page,
	string sort,
	bool? isDescending
)

Parameters

bannerLocationFilter
Type: SystemString
banner type requested (e.g. "TOP", "LEFT", "BOTTOM")
page
Type: SystemNullableInt32
0-based index of the requested page
sort
Type: SystemString
field name to order results by
isDescending
Type: SystemNullableBoolean
order results in ascending or descending order (default false / ascending)

Return Value

Type: ActionResult
View(Page<Banner>) or redirect to /Admin/Summary on errors
See Also

Reference

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