Credihealth Interview Question

How to make a controller method available on view