Exemple #1
0
        public IActionResult Details(string id)
        {
            ManufacturerRepo mRepo = new ManufacturerRepo(db);
            var make = mRepo.Get(id);

            return(View(make));
        }
Exemple #2
0
        public IActionResult Edit(string id)
        {
            ManufacturerRepo mRepo = new ManufacturerRepo(db);
            Manufacturer     make  = mRepo.Get(id);

            return(View(make));
        }