public bool DeleteProduct(uint id) { bool success = true; try { ProductsProvider.DeleteProduct(id); } catch { success = false; } return(success); }