public ActionResult DeleteConfirmed(int id) { _Distributor distributor = distributorService.GetOne(id); distributorService.Delete(distributor); return(RedirectToAction("Index")); }
public ActionResult DeleteConfirmed(int id) { _Distributor distributor = distributorService.GetOne(id); distributorService.Delete(distributor); return(RedirectToAction("Index")); }