Esempio n. 1
0
 public ActionResult StateForm()
 {
     foreach (var data in StateClassList)
     {
         ViewData["StateID"]   = data.StateId;
         ViewData["State"]     = data.State;
         ViewData["CountryID"] = data.CountryId;
         ViewData["Country"]   = data.Country;
     }
     StateClassList.Clear();
     ViewBag.CountryList = Bc.GetCountryList();
     return(View(Bc.GetStateList()));
 }