public ActionResult Delete(int id, ProductViewModel productViewModel) { _buisnessLogicClass.DeleteProduct(id); return(RedirectToAction(nameof(Index))); }
public ActionResult Delete(int id, ProductViewModel productViewModel) { _buisnessLogicClass.DeleteProduct(id); return(RedirectToAction(nameof(Index))); }