// GET: Vehicles/Create public ActionResult Create() { ViewBag.OwnerId = new SelectList(db.GetOwners(), "Id", "Name"); ViewBag.TypeId = new SelectList(db.GetVehicleTypes(), "Id", "Name"); return(View()); }