Пример #1
0
        // GET: Home
        public ActionResult Index()
        {
            List <Park> allParks = applicationDal.GetAllParks();

            return(View("Index", allParks));
        }
 // GET: Home
 public ActionResult Index()
 {
     return(View("Index", applicationDal.GetAllParks()));
 }