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