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))); }