Add a api of display() method in Logic for MainViewController.