Exemple #1
0
        public ActionResult DeleteConfirmed(int id)
        {
            UserInfo userInfo = db.UserInfo.Find(id);

            db.UserInfo.Remove(userInfo);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
        public ActionResult DeleteConfirmed(int id)
        {
            VideoCommentBack videoCommentBack = db.VideoCommentBack.Find(id);

            db.VideoCommentBack.Remove(videoCommentBack);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
        public ActionResult DeleteConfirmed(int id)
        {
            InfoComment infoComment = db.InfoComment.Find(id);

            db.InfoComment.Remove(infoComment);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }