Example #1
0
        public IActionResult FavoriteParks()
        {
            FavoriteParksViewModel model = new FavoriteParksViewModel();

            IList <ParkModel> FavoriteParks = _parkDAL.GetFavoriteParks();

            model.FavoriteParks = FavoriteParks;

            return(View(model));
        }