public ActionResult DeleteProduct(int id) { ServiceLayer serviceLayer = new ServiceLayer(); serviceLayer.DeleteProduct(id); return(RedirectToAction("AddProduct")); }