public int?GetUserReviewPlaytime(Review review)
 {
     if (review == null)
     {
         return(null);
     }
     return(_gameListRepository.GetGameListPlaytime(review.GameId, review.UserId));
 }
        public List <ReviewPlaytime> ReviewPlaytimeList(List <Review> reviews)
        {
            var reviewPlaytimes = new List <ReviewPlaytime>();

            foreach (var rev in reviews)
            {
                var playtime = _gameListRepository.GetGameListPlaytime(rev.GameId, rev.UserId);
                reviewPlaytimes.Add(new ReviewPlaytime {
                    Review = rev, Playtime = playtime
                });
            }
            return(reviewPlaytimes);
        }