HCLTech Interview Question

How you can use ui action as client and server?