can judge when category contains products
can not delete products when delete  category
finish management