public Comment Update(Comment comment) { var url = GetUrl(); var json = client.Put(url, JObject.FromObject(comment).ToString()); var jsonComment = JObject.Parse(json); return CreateComment(jsonComment); }
public Comment Get(Comment comment) { return Get(comment.id); }
public void Delete(Comment comment) { Delete(comment.id); }