public void GetVotesPerParkTests()
        {
            //Arrange
            //3 test votes added in initialize method

            //Act
            List <SurveyResult> results = surveyResultSqlDAL.GetVotesPerPark();
            int numberOfVotes           = 0;

            foreach (SurveyResult result in results)
            {
                if (result.Park.ParkCode == "TEST")
                {
                    numberOfVotes = result.Votes;
                }
            }

            //Assert
            Assert.AreNotEqual(0, results.Count);
            Assert.AreEqual(3, numberOfVotes);
        }
 public IActionResult Results()
 {
     return(View(surveyResultSqlDAL.GetVotesPerPark()));
 }