Exemplo n.º 1
0
        public ActionResult LikeStatus([Bind(Include = "UserId,StatusId")] Like like)
        {
            LikeManager likeManager = new LikeManager();

            if (ModelState.IsValid)
            {
                likeManager.Add(like);
            }
            return(RedirectToAction("NewsFeed", "Users"));
        }