Пример #1
0
 public ActionResult Edit(int?ID)
 {
     if (ID == null)
     {
         return(RedirectToAction("Index"));
     }
     else
     {
         ViewBag.Country = CList();
         CityModel model = _City.GetDetail(ID.Value);
         return(View(model));
     }
 }