fn get() -> list: service::get_all() fn post(customer: Customer): service.add(customer) fn put(customer: Customer): service.update(customer)