PostsController.Update Method

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

Update(int, PostUp)

Updates a post.

public Post Update(int id, PostUp post)

Parameters

id
int

Id of the post to update.

post
PostUp

The post to update.

Returns

Post

The updated post.