/// <summary> /// method for updating te products /// </summary> /// <param name="updateProduct"></param> public static void UpdateProduct(Product updateProduct) { bool productUpdated = false; try { if (Product.updateProduct) { ProductDataAccessLayer productDataAccessLayer = new ProductDataAccessLayer(); productUpdated = productDataAccessLayer.UpdateProductDataAccessLayer(updateProduct); } } catch (ProductException) { throw; } catch (Exception ex) { throw ex; } }