コード例 #1
0
 public ActionResult Delete(string id)
 {
     try
     {
         TaxHelper.Delete(id);
         return(RedirectToAction("Index"));
     }
     catch (Exception ex)
     {
         return(RedirectToAction("Index", new { message = ex.Message }));
     }
 }