コード例 #1
0
 public ActionResult Delete(int[] CountryID)
 {
     if (CountryID != null)
     {
         CountryBLL.DeleteCountry(CountryID);
     }
     return(RedirectToAction("Index"));
 }
コード例 #2
0
 public ActionResult DeleteMeasurement(int id)
 {
     if (ModelState.IsValid)
     {
         CountryBLL objCountryBLL = new CountryBLL();
         objCountryBLL.DeleteCountry(id);
     }
     return(RedirectToAction("Index", "Country"));
 }