Ejemplo n.º 1
0
        public ActionResult Dislike(int blogId)
        {
            string email = FormsAuthentication.Decrypt(Request.Cookies[FormsAuthentication.FormsCookieName].Value).Name;
            var    flag  = _blogManager.DisLike(email, blogId);

            if (flag)
            {
                return(Json(true));
            }
            return(Json(false));
        }