예제 #1
0
        // GET: Dealership/Edit/5
        public IActionResult Edit(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var dealership = DealershipMgr.getDealership(id);

            if (dealership == null)
            {
                return(NotFound());
            }
            return(View(dealership));
        }
예제 #2
0
 public Dealership Get(int id)
 {
     return(DealershipMgr.getDealership(id));
 }