public static int GetProductId(string name) { return(int.Parse(InventoryDb.GetProductIdByName(name))); }