Beispiel #1
0
 public void Delete(int id)
 {
     DealershipMgr.DeleteDealership(id);
 }
 public async Task <IActionResult> DeleteConfirmed(int id)
 {
     DealershipMgr.DeleteDealership(id);
     return(RedirectToAction(nameof(Index)));
 }
 public void Delete(int id)
 {
     _context.DeleteDealership(id);
 }
        public ActionResult <Dealership> DeleteDealership(int id)
        {
            _dealership.DeleteDealership(id);

            return(NoContent());
        }
 public String DeleteDealership(int id)
 {
     return(_context.DeleteDealership(id));
 }