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