public List <ListaLocacaoDto> GetAll()
        {
            var result    = _repo.GetAll();
            var resultMap = _map.Map <List <ListaLocacaoDto> >(result);

            return(resultMap);
        }
Beispiel #2
0
 public IEnumerable <Locacao> GetAll()
 {
     return(_locacaoRepository.GetAll());
 }