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

            reviewS.deletePost(codeReview);
            return("");
        }
예제 #2
0
        public String DeletePost(String IDPost)
        {
            ReviewFilmService reviewS = new ReviewFilmService();
            bool result = reviewS.deletePost(IDPost);

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