public ActionResult DeleteConfirmed(int id) { Transporter transporter = transportService.FindById(id); transportService.DeleteTransporter(transporter); return(RedirectToAction("Index")); }
public ActionResult DeleteConfirmed(int id) { Transporter transporter = transportService.FindById(id); transportService.DeleteTransporter(transporter); return(RedirectToAction("Index")); }