public ActionResult SurveyResult() { List <SurveyResult> result = surveyDAL.SurveyResults(); Dictionary <string, string> parks = GetParkNameAndCode(); foreach (SurveyResult sr in result) { sr.ParkName = parks[sr.ParkCode]; } return(View("SurveyResult", result)); }
public ActionResult SurveyResult() { List <SurveyResult> result = surveyDAL.SurveyResults(); return(View("SurveyResult", result)); }