public string DeletePost(string codeReview)
        {
            ReviewFilmService reviewS = new ReviewFilmService();

            reviewS.deletePost(codeReview);
            return("");
        }
Exemplo n.º 2
0
        public String DeletePost(String IDPost)
        {
            ReviewFilmService reviewS = new ReviewFilmService();
            bool result = reviewS.deletePost(IDPost);

            if (result)
            {
                return("success");
            }
            else
            {
                return("failed");
            }
        }