Example #1
0
        //
        // GET: /Comments/
        public RedirectToRouteResult Comment(string commets, string postId)
        {
            var user = (User)Session["User"];



            commentsManager.SaveACommets(Convert.ToInt32(postId), user.Id, commets);

            return(RedirectToAction("Index", "NewsFeed"));
        }