public IEnumerable <GetAuthorView> GetAuthorsNotExistInMagazine(GetMagazineView magazine) { var magazineMapped = Mapper.Map <GetMagazineView, Magazine>(magazine); var authors = magazineRepository.GetAuthorsNotExistInMagazine(magazineMapped); var authorsMapped = Mapper.Map <IEnumerable <Author>, IEnumerable <GetAuthorView> >(authors); return(authorsMapped); }