public IActionResult Index() { Survey survey = new Survey(); //Get the park names for the drop-down selection List <SelectListItem> parks = parkSqlDAO.GetParkNames(); survey.Parks = parks; return(View(survey)); }
public IActionResult Index() { Survey survey = new Survey(); //Get the park names for the drop-down selection List <SelectListItem> parks = parkSqlDAO.GetParkNames(); survey.Parks = parks; return(View(survey)); }