public ActionResult Add()
        {
            CarVM vm = new CarVM();

            vm.aracmarka = _carBrandService.GetActive();
            return(View(vm));
        }
Beispiel #2
0
        // GET: Admin/Car
        public ActionResult List()
        {
            List <CarBrand> markaList = _carBrandService.GetActive();

            return(View(markaList));
        }