public async Task <ActionResult <ParkModel> > GetParkById(int parkId) { var results = await _service.GetParkAsync(parkId); return(Ok(results)); }
public async Task <IActionResult> Details(int parkId) { var park = await _service.GetParkAsync(parkId); return(View(park)); }