public ActionResult Delete(int id) { Product product = productionService.GetProduct(id); if (product != null) { productionService.RemoveProduct(product); } return(RedirectToAction("Index")); }