@Override
public List<ArticleViewDTO> loadCurrentUserArticles(String currentUserGuid) {
List<Article> articles = articleDao.findCurrentUserArticles(currentUserGuid);
List<ArticleViewDTO> articleDTOs = new ArrayList<ArticleViewDTO>();
for (Article article : articles) {
ArticleViewDTO articleDTO = new ArticleViewDTO(article);
articleDTOs.add(articleDTO);
}
return articleDTOs;
}