// GET: Vehicles/Create public ActionResult Create() { ViewBag.VehicleTypes = repo.GetAllVehicleTypes(); return(View()); }
// GET: api/VehicleTypes public ICollection <VehicleType> Get_VehicleTypes() { return(_repo.GetAllVehicleTypes().ToList()); }
// GET: VehicleTypes public ActionResult Index() { return(View(repo.GetAllVehicleTypes())); }