コード例 #1
0
 public ActionResult Delete(Product model)
 {
     try
     {
         var biz = new ProductBiz();
         biz.Delete(model);
         return(RedirectToAction("Index"));
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
         return(View(model));
     }
 }