public void Delete(int id) { DealershipMgr.deleteDealership(id); }
public IActionResult DeleteConfirmed(int id) { DealershipMgr.deleteDealership(id); return(RedirectToAction(nameof(Index))); }
public void Delete(int id) { DealershipMgr.deleteDealership(id); }
public IActionResult DeleteConfirmed(int id) { DealershipMgr.deleteDealership(id); return(RedirectToAction(nameof(Index))); }