示例#1
0
        public ActionResult ChoosePark()
        {
            List <ParkModel> parks = parkDAL.GetAllParks();

            parks.ForEach(park => park.Image = parkDAL.GetImageByParkId(park.ParkId));
            return(View("ChoosePark", parks));
        }