コード例 #1
0
 public ActionResult DeleteCategory(int id)
 {
     try
     {
         _blogServices.DeleteCategory(id);
         return(RedirectToAction("Index", "Home"));
     }
     catch (Exception)
     {
         throw;
     }
 }