Esempio n. 1
0
        public ActionResult comment(Account_Data ac)
        {
            HttpCookie loginCookie = Request.Cookies["crystalthoughts"];
            var        url         = TempData["blgurl"].ToString();

            try
            {
                ac.user_id = enc.Decrypt(loginCookie["Account_id"]).ToString();
                ac.videoid = TempData["bloid"].ToString();
                ac.Status  = "false";
                if (dl.Blog_Insertcomment(ac) > 0)
                {
                    TempData["MSG"] = "Thnakyou for Showing Intrest!";
                }
            }
            catch (Exception ex)
            { }
            return(Redirect("/blog/details/" + ac.videoid + "/" + url));
        }