Exemplo n.º 1
0
        public IActionResult List()
        {
            List <Park> result = parkSqlDAL.GetAllParks();

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

            return(View(parks));
        }
Exemplo n.º 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));
        }