Exemple #1
0
 public ActionResult CityForm()
 {
     foreach (var data in CityClassList)
     {
         ViewData["CityID"] = data.CityId;
         ViewData["City"]   = data.City;
     }
     CityClassList.Clear();
     ViewBag.CountryList = Bc.GetCountryList();
     return(View(Bc.GetCityList()));
 }