function deleteIngrediente() { $ingrediente = new Ingrediente(); return $ingrediente->deleteBy("nombreIng", $_POST['nombre']); }