Exemplo n.º 1
0
        public JsonResult Create(PhotoComment comment)
        {
            try {
                MediaClient client = new MediaClient(base.userToken.access_token);
                ApiSingleResponse <Comment> response = client.Comment(comment.id, Server.UrlEncode(comment.text));

                return(Json(new { success = true }));
            } catch { return(Json(new { success = false })); }
        }