public ActionResult _AddLike(int postId) { bool user = _blogService.CheckUserLike(User.Identity.Name, postId); if (user) { _blogService.AddUserLike(User.Identity.Name, postId); } int likes = _blogService.PostLikes(postId); return(PartialView(likes)); }