public static bool updateProduct(Product product, int productID) { ProductInventory.RemoveAt(productID); ProductInventory.Insert(productID, product); return(true); }
public static bool updateProduct(Product product, int productID) { ProductInventory.RemoveAt(productID); ProductInventory.Insert(productID, product); return(true); }