コード例 #1
0
        public IActionResult Delete()
        {
            ViewBag.mxrecipes = RecipeData.GetAll();

            return(View());
        }
コード例 #2
0
        //get: Recipe
        public IActionResult Index()
        {
            List <MXRecipe> mxRecipes = new List <MXRecipe>(RecipeData.GetAll());

            return(View(mxRecipes));
        }