public IActionResult RentCar() { var listOfCars = carServices.CarList(); var temp = new RentCarVM { _cars = listOfCars.Select(y => new SelectListItem { Value = $"{y.Id}", Text = $"{y.Name}, {y.Model }, Pris per dag: {y.PricePerDay}" }).ToList(), }; return(View(temp)); }