示例#1
0
        public ActionResult CarList()
        {
            var manager = new VehicleManager();
            var cars = manager.GetAllCars().Data;

            return View("_userCarList", cars);
        }
示例#2
0
        public ActionResult AdminIndex()
        {
            var manager = new VehicleManager();
            var cars = manager.GetAllCars().Data;

            return View("_CarList", cars);
        }