示例#1
0
        public IActionResult Delete(int[] recipeIds)
        {
            foreach (int recipeId in recipeIds)
            {
                RecipeData.Remove(recipeId);
            }

            return(Redirect("/Events"));
        }