public ActionResult Favorites()
 {
     return(View("Favorites", surveyDAL.GetFavoriteParks()));
 }
        public ActionResult FavoriteParks()
        {
            List <FavoriteParksModel> favoriteParksList = dal.GetFavoriteParks();

            return(View(favoriteParksList));
        }
예제 #3
0
        public ActionResult Index()
        {
            List <FavoriteParkViewModel> parks = _dal.GetFavoriteParks();

            return(View(parks));
        }
        public ActionResult FavoriteParks()
        {
            var parks = dal.GetFavoriteParks();

            return(View("FavoriteParks", parks));
        }