Exemplo n.º 1
0
        public IActionResult Delete()
        {
            ViewBag.mxrecipes = RecipeData.GetAll();

            return(View());
        }
Exemplo n.º 2
0
        //get: Recipe
        public IActionResult Index()
        {
            List <MXRecipe> mxRecipes = new List <MXRecipe>(RecipeData.GetAll());

            return(View(mxRecipes));
        }