// GET: Dealership public async Task <IActionResult> Index() { return(View(DealershipMgr.GetDealershipList())); }
public IEnumerable <Dealership> Get() { return(DealershipMgr.GetDealershipList()); }
private bool DealershipExists(int id) { return(DealershipMgr.GetDealershipList().Any(e => e.ID == id)); }