private HashSet<int> GetUserLikes(Guid? currentUserId)
        {
            HashSet<int> userLikes = null;
            if (currentUserId != null)
            {
                UserLikesProvider userLikesProvider = new UserLikesProvider();
                userLikes = userLikesProvider.GetLikedArticlesByUser(currentUserId.Value);
            }

            return userLikes;
        }
        private HashSet <int> GetUserLikes(Guid?currentUserId)
        {
            HashSet <int> userLikes = null;

            if (currentUserId != null)
            {
                UserLikesProvider userLikesProvider = new UserLikesProvider();
                userLikes = userLikesProvider.GetLikedArticlesByUser(currentUserId.Value);
            }

            return(userLikes);
        }
 public LikesMediator(ArticlesProvider articlesProvider, UserLikesProvider userLikesProvider)
 {
     this.articlesProvider = articlesProvider;
     this.userLikesProvider = userLikesProvider;
 }