Exemple #1
0
 public ActionResult EditCountry(int countryId)
 {
     foreach (var data in Bc.GetCountryListByCountryId(countryId))
     {
         CountryClass cc = new CountryClass()
         {
             CountryId = data.CountryID,
             Country   = data.Country1
         };
         CountryClassList.Add(cc);
     }
     return(RedirectToAction("CountryForm"));
 }