public void RemoveProduct(int productID) { var product = RecipeProducts.Find(p => p.ProductId == productID); if (product != null) { NoRecipeProducts.Add(product.Product); RecipeProducts.Remove(product); } }