public ActionResult GetRecentTrips() { IEnumerable <Trip> recentTrips = _tripService.GetRecentTrips(RecentTripsToDisplay); var recentTripsToDisplay = Mapper.Map <IEnumerable <DisplayTripViewModel> >(recentTrips); return(PartialView("RecentTrips", recentTripsToDisplay)); }