public void AddRange(IEnumerable <Comment> comments) { IEnumerable <DbComment> dbComments = Mapper.Map <IEnumerable <DbComment> >(comments); _commentRepository.AddRange(dbComments); }