
export async function list(){
  // placeholder: call API via api_client
  return [{id:1,name:'Ramesh'}, {id:2,name:'Suresh'}];
}
export async function renderList(){
  const main = document.getElementById('main');
  const items = await list();
  main.innerHTML += '<h3>Customers</h3><ul>' + items.map(i=>'<li>'+i.name+'</li>').join('') + '</ul>';
}
