public ActionResult SaveCity(string cityName, string state)
        {
            CityClass city = new CityClass(cityName, state);

            city.CitySave();
            return(RedirectToAction("NewCity"));
        }
        public void Save_SavesToDatabase_CityList()
        {
            //Arrange
            string    name  = "Washington";
            string    state = "WA";
            CityClass city  = new CityClass(name, state);

            //Act
            city.CitySave();
            List <CityClass> result   = CityClass.GetAll();
            List <CityClass> testList = new List <CityClass> {
                city
            };

            //Assert
            CollectionAssert.AreEqual(testList, result);
        }