DXC Technology interview question

How to pass the data between two controllers?