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