Exemplo n.º 1
0
 public UserViewModel AddReviewsToViewModel(UserViewModel model)
 {
     model.Reviews = _reviewRepo.GetAllReviewsByUserID(model.UserId);
     model.Reviews.Reverse();
     return(model);
 }