Welcome Hirusha.
Is that all your Navigate code?
This tutorial demonstrates how to use the Navigation control.
HOW TO: Use the Navigate control
Did you follow the advice there? Does the example work but your app does not? Did you obtain an ORS api key?
If you did do the tutorial you need to be aware that the service occasionally cannot provide a route if one of the coordinates is not near a road.