예제 #1
0
        public void RemoveProduct(int productID)
        {
            var product = RecipeProducts.Find(p => p.ProductId == productID);

            if (product != null)
            {
                NoRecipeProducts.Add(product.Product);
                RecipeProducts.Remove(product);
            }
        }