示例#1
0
        public ActionResult DeleteArticle()
        {
            article objarticle = new article();

            objarticle.articleid = int.Parse(Request.QueryString["aid"]);
            objadminmodel.DeleteArticles(objarticle);
            ViewBag.articles = objadminmodel.GetArticles();
            return(View("~/Views/Admin/ArticlesList.cshtml"));
        }