Example #1
0
        // GET: Comment/Delete/5
        public ActionResult DeleteComm(int id)
        {
            commentt item = new commentt();

            item = commSer.GetById(id);
            CommentViewModels g = new CommentViewModels()
            {
                idArticle   = item.idArticle,
                idUser      = item.idUser,
                description = item.description,
                date        = item.date,
                user        = item.user,
                article     = item.article,
            }; return(View(g));
        }