public async Task <IActionResult> Index(CarTransportationSearchViewModel search) { var model = await _carTransportRepository .GetAllCars(search, this.CurrentPage, this.PageSize); this.PageCount = model.Item1; ViewBag.SearchModel = search; return(View(model.Item2)); }