Exemplo n.º 1
0
 /// <summary>
 /// 根据文章id删除文章
 /// </summary>
 /// <param name="id"></param>
 public static void DeleteArticleById(int id)
 {
     ArticleService.DeleteArticleById(id);
 }
Exemplo n.º 2
0
 public ActionResult DeleteArticle(int id, string categoryId, string subCategoryId)
 {
     articleService.DeleteArticleById(id);
     return(RedirectToAction("CategoryArticle", "Manage", new { id = categoryId, subId = subCategoryId }));
 }