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));
        }
Example #2
0
        public ActionResult SurveyResult()
        {
            List <SurveyResult> result = surveyDAL.SurveyResults();

            return(View("SurveyResult", result));
        }