//********** END SOILE ********** // GET: ParkedVehicles/Create public IActionResult Create() { ViewData["MemberID"] = new SelectList(_context.Set <Member>(), "Id", "FullName"); ViewData["VehicleTypeID"] = new SelectList(_context.Set <VehicleTypes>(), "ID", "VehicleType"); return(View()); }
// GET: Vehicles/Create public IActionResult Park() { ViewData["MembersId"] = new SelectList(_context.Set <Members>(), "Id", "FullName"); ViewData["VehicleTypesId"] = new SelectList(_context.Set <VehicleTypes>(), "Id", "TypeOfVehicle"); return(View()); }