示例#1
0
 public IActionResult DeleteNews(Guid id)
 {
     artRepository.DeleteArticle(new News {
         id = id
     });
     return(RedirectToAction("Add"));
 }