Beispiel #1
0
        public IActionResult List()
        {
            List <Park> result = parkSqlDAL.GetAllParks();

            return(View(result));
        }
Beispiel #2
0
 public IActionResult Index()
 {
     return(View(parkSqlDAL.GetAllParks()));
 }
Beispiel #3
0
        public IActionResult Index()
        {
            var parks = dal.GetAllParks();

            return(View(parks));
        }
Beispiel #4
0
        // GET: Home
        public ActionResult Index()
        {
            IList <Park> allParks = parkDAL.GetAllParks();

            return(View("Index", allParks));
        }
        public IActionResult Index()
        {
            List <Park> parks = parkDAL.GetAllParks();

            return(View(parks));
        }