示例#1
0
 public async Task <ActionResult <bool> > PublishPost(int id, [FromBody] bool publish)
 {
     return(await _postProvider.Publish(id, publish));
 }