return "recommendations/create";
}
long restaurantId = recommendationFormBean.getRestaurantId();
Restaurant restaurant = this.restaurantRepository.findRestaurant(restaurantId);
UserAccount account = this.userAccountRepository.findUserAccount(userId);
Recommendation recommendation = account.rate(restaurant,
recommendationFormBean.getRating(),
recommendationFormBean.getComments());
model.addAttribute("recommendationId", recommendation.getRelationshipId());
return "redirect:/recommendations/" + recommendation.getRelationshipId();
}