Não consigo listar os dados na minha Grid, pois o retorno sempre cai no undefined, Estou utilizando o método de um serviço o "getAll()" , o que pode ser?
export class ParametroComponent implements OnInit { 
  parametros: IParametro[] = [];
  modulo: string
  salvando: boolean
  service: GenericService<IParametro>
  constructor(private serviceFactory: GenericServiceFactory, private toastr: ToastsManager) {
    this.modulo = localStorage.getItem('currentModule')
    this.service = serviceFactory.createHttpServiceFor<IParametro>('parametro')
}
  ngOnInit(): void {
    this.getAllParametros();
  }
  getAllParametros(){
    this.service.getAll()
    .subscribe(res => {
        this.parametros = res;
        console.log(this.parametros);
    });
  }
}Esse é o service:
getAll(): Observable<T[]> {
        const url = `v1/${this.resource}?page=1&limit=99999&somenteAtivos=false&search=&sort=`;
        console.log(this.http);
        return this.http.get(url)
            .map(res => <T[]>res.json().data)
            .catch((error: any) => Observable.throw(this.handleError(error)));
    } 
            