Example #1
0
 public ActionResult Delete(int id)
 {
     db.DeleteProduct(id);
     return(RedirectToAction("Index"));
 }