public IHttpActionResult DeletePrivatePost(int id)
 {
     repository.DeletePrivatePost(id);
     return(Ok("deleting post"));
 }