public ActionResult CarList() { var manager = new VehicleManager(); var cars = manager.GetAllCars().Data; return View("_userCarList", cars); }
public ActionResult AdminIndex() { var manager = new VehicleManager(); var cars = manager.GetAllCars().Data; return View("_CarList", cars); }