CommentsController.InsertPostComment Method

Namespace:
Weavy.Web.Api.Controllers
Assembly:
Weavy.Web.dll

InsertPostComment(int, CommentIn)

Insert a new Comment for the specified Post.

public Comment InsertPostComment(int id, CommentIn comment)

Parameters

id
int

Id of the parent Post

comment
CommentIn

The comment to insert.

Returns

Comment

Returns the posted comment.