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

AccountControllerViewMessages Method

AuctionWorx 3.5 API
Displays a list of messages eith to or from this user (not both)

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

Syntax

C#
public ActionResult ViewMessages(
	bool? incoming,
	int? pageIndex,
	string sort,
	bool? descending
)

Parameters

incoming
Type: SystemNullableBoolean
true or null displays incoming messages, otherwise outgoing messages are displayed
pageIndex
Type: SystemNullableInt32
index of the page to be displayed (default 0)
sort
Type: SystemString
field name to order results by (default "Sent")
descending
Type: SystemNullableBoolean
order results in ascending or descending order (default true / descending)

Return Value

Type: ActionResult
View(Page<UserMessage>)
See Also

Reference

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