Exemplo n.º 1
0
        public ActionResult isLiked(int IDReview)
        {
            LikeReviewPostService fls = new LikeReviewPostService();
            if (fls.isVoted(User.Identity.GetUserId(), IDReview))
            {
                return Content("true");
            }

            return Content("false");
        }
Exemplo n.º 2
0
 public bool isVoted(string user_name, int ms_review)
 {
     LikeReviewPostService sv = new LikeReviewPostService();
     return sv.isVoted(user_name, ms_review);
 }