public ActionResult Create()
        {
            Reservation      reservation = new Reservation();
            RentalsViewModel viewModel   = RentalsViewModel.FromReservation(reservation);

            viewModel.Locations = viewModel.GetLocations();
            viewModel.Cars      = viewModel.GetCars();
            return(View(viewModel));
        }
        public ActionResult Edit(int Id)
        {
            Reservation      reservation = context.Find(Id);
            RentalsViewModel viewModel   = RentalsViewModel.FromReservation(reservation);

            viewModel.Locations = viewModel.GetLocations();
            viewModel.Cars      = viewModel.GetCars();

            if (reservation == null)
            {
                return(HttpNotFound());
            }
            else
            {
                return(View(viewModel));
            }
        }