Ejemplo n.º 1
0
        public async Task <IEnumerable <ProducerDto> > BrowseAsync(string name = null)
        {
            var producers = await _producerRepository.BrowseAsync(name);

            return(_mapper.Map <IEnumerable <ProducerDto> >(producers));
        }