Refactor the WebProject class

Improved method for calling the Controller action method