Exemplo n.º 1
0
        /**
         * A list on simple reipe objects are retrived from the database, using the DAO pattern,
         * where the implementation utelizes the entity framework
         *
         */
        public ActionResult Index()
        {
            // get all recipes with images
            List <DisplaySimpleRecipe> listOfREcipeWithNoImage = RecipeDAO.GetDisplaySimpleRecipes();


            return(View(listOfREcipeWithNoImage));
        }