public IEnumerable <ListPostoColetaViewModel> Get()
 {
     return(_repository.GetAll());
 }
示例#2
0
 public async Task <IEnumerable <PostoColetaViewModel> > GetAll() =>
 _mapper.Map <IEnumerable <PostoColetaViewModel> >(await _postoColetaRepository.GetAll());