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