metodo get_by_id