Exemple #1
0
        public async Task <IActionResult> ParkDetail(string code)
        {
            ParkModel park = parkDAL.GetPark(code);

            ViewData["weathers"] = await parkDAL.GinerateWeathers(code);

            ViewData["settings"] = GetUserSettings();
            return(View(park));
        }