ForumController Class
The ForumController class is responsible for handling requests related to the forum.
This language is not supported or no code example is available.
|
Name
|
Description
|
|
BugsAndSuggestionsAsync(string, string)
|
Retrieves the sticky topic for the Bugs and Suggestions page, and orders the comments based on the filter parameter.
|
|
CommentAsync(IFormCollection)
|
|
|
CommentReportRemove(Guid)
|
|
|
CreateAsync(IFormCollection)
|
|
|
DeleteCommentAsync(Guid, int)
|
Deletes a comment from the database.
|
|
DeletePostAsync(int)
|
Deletes a post from the forum.
|
|
DeleteReportedCommentAsync(Guid)
|
|
|
DeleteReportedPostAsync(int)
|
Deletes a reported post and all its comments and reactions.
|
|
IndexAsync(string, string)
|
Retrieves a list of topics from the database, sorted according to the filter and search parameters.
|
|
IndexAsyncTest()
|
Retrieves a list of topics from the database and passes them to the view.
|
|
NewTopic()
|
|
|
Profile(Guid)
|
|
|
React(ReactionType, Guid, int, string)
|
React to a comment with a given reaction type.
|
|
ReportComment(Guid, int, bool)
|
|
|
ReportPost(int)
|
|
|
ReportedTopicsAndComments()
|
Retrieves a list of reported topics and comments from the database.
|
|
Rules()
|
|
|
TopicAsync(int, string, string)
|
|
|
TopicReportRemove(int)
|
|
Top
.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