Example #1
0
        public async Task <IEnumerable <PrintingEditionModel> > GetAllEditionsAsync()
        {
            var printingEditions =
                _mapper.Map <IEnumerable <PrintingEdition>, IEnumerable <PrintingEditionModel> >(
                    await _editionRepository.GetEditionsAsync());

            return(printingEditions);
        }