public IActionResult Index() { var model = new CarViewModel { CarList = new List <CarDetailViewModel>() }; var allCars = _carService.GetAllCars(); model.CarList.AddRange(allCars.Select(x => _translatorService.ConvertCar(x))); return(View(model)); }