Exemple #1
0
 public ActionResult EditCity(int cityId)
 {
     foreach (var data in Bc.GetCityListByCityId(cityId))
     {
         CityClass cc = new CityClass()
         {
             CityId = data.CityID,
             City   = data.City1
         };
         CityClassList.Add(cc);
     }
     return(RedirectToAction("CityForm"));
 }