DXC Technology Interview Question

How to pass the data between two controllers?