public IList <ArticleDto> GetPublishedArticlesByCategoryId(Guid categoryId, DateTime currentDate, int pageIndex, int pageSize)
        {
            IList <Article>   articles = _articlesRepository.GetPublishedArticles(categoryId, currentDate, pageIndex, pageSize);
            List <ArticleDto> dto      = _mapper.Map <List <ArticleDto> >(articles);

            return(dto);
        }