Пример #1
0
        public async Task <IEnumerable <DocResource> > ListAsync()
        {
            var docs = await _docService.ListAsync();

            var resources = _mapper.Map <IEnumerable <Doc>, IEnumerable <DocResource> >(docs);

            return(resources);
        }