public IEnumerable <GetArticleView> GetAllArticlesWithGenres() { var articles = articleRepository.GetAllArticlesWithGenres(); var articlesMapped = Mapper.Map <IEnumerable <Article>, IEnumerable <GetArticleView> >(articles); return(articlesMapped); }