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)); } }