ForumController.React Method

React to a comment with a given reaction type.
public Task<ActionResult> React( 
ReactionType reaction
Guid commentId
int topicId
string filter = "" 
)
This language is not supported or no code example is available.

Parameters

reaction
ReactionType

The type of reaction to give.

commentId
Guid

The ID of the comment to react to.

topicId
int

The ID of the topic the comment belongs to.

filter
string

Return Value

Task<ActionResult>

A redirect to the topic page.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition