Ejemplo n.º 1
0
 public async Task <IEnumerable <TDTO> > BuscarTodosComPesquisa(Expression <Func <T, bool> > expression)
 {
     return(_mapper.Map <IEnumerable <TDTO> >(await _service.BuscarTodosComPesquisa(expression)));
 }
 public async Task <IEnumerable <TDTO> > BuscarTodosComPesquisa(Expression <Func <T, bool> > expression, string[] includes = default)
 {
     return(_mapper.Map <IEnumerable <TDTO> >(await _service.BuscarTodosComPesquisa(expression, includes)));
 }