Exemplo n.º 1
0
        // GET: Dealers/Delete
        public ActionResult Delete(int id)
        {
            var cp = new DealerProcess();

            cp.Delete(id);
            return(RedirectToAction("Index"));
        }
Exemplo n.º 2
0
 public ActionResult DeleteConfirmed(int id)
 {
     dealerProcess.Delete(id);
     return(RedirectToAction("Index"));
 }