public ActionResult Create() { var dropdownlist_Trip_Property = new CreateViewModel.DropDownList_Trip() { Trips = TripService.GetTrips().ToList() }; var createViewModel = new CreateViewModel() { DropDownList_Trip_Property = dropdownlist_Trip_Property }; return View(createViewModel); }
public ActionResult Create(CreateViewModel createViewModel) { return View(createViewModel); }