public ActionResult Delete(int? id)
        {
            CountriesService countriesService = new CountriesService();

            if (!id.HasValue)
            {
                return RedirectToAction("List");
            }

            countriesService.Delete(id.Value);

            return RedirectToAction("List");
        }
Example #2
0
 public void A070_DeleteCountry()
 {
     countriesService.Delete(country6Key);
 }