@model List @{ ViewData["Title"] = "Search results"; } @{

Search results

@foreach (var item in Model) {

@item.Brand @item.Model

@if (item.FuelEfficiency.ToLower().Equals("luxury")) { @item.FuelEfficiency } else { @item.FuelEfficiency }
slika
car seat @item.Transmission
car seat @item.NumSeats
car seat @item.NumOfDoors
@item.Color
produced @item.ModelYear

@item.CompanyName

@item.DailyRentalPrice$ / day

navigation
Navigation
+5 €
navigation
Green card
+5 €
navigation
Baby seat
+5 €
trunk
Roof rack
+5 €

@Html.ActionLink("RENT NOW", "Index", "Rent", new { @id = item.CarId }, new { @class = "rent-now text-center" })
}
}