public ActionResult Map() { MapViewViewModel location = new MapViewViewModel(); var carLocations = locationService.GetCarLocations(1); location.LocationModel = Mapper.Map <IEnumerable <Location>, IEnumerable <LocationViewModel> >(carLocations); location.CarList = DropDownHelper.ConvertToSelectListItemIEnumerable(carService.GetUserCarsDropDown(HttpContextStorage.CurrentUser.Id)); return(View(location)); }