public ActionResult SurveyResult() { List <SurveyResult> results = sDal.GetSurveyCountOfParks(); if (results != null) { return(View("SurveyResult", results)); } else { return(View("SurveyResult")); } }
public ActionResult SurveyResult() { List <SurveyResult> results = sDal.GetSurveyCountOfParks(); if (results != null) { return(View("SurveyResult", results)); } else { return(View("SurveyResult")); } }