title: Sails call one controller from another controller
body: <p>I am having two controllers, <code>SocketController</code> and <code>ProjectController</code><br>
  <code>SocketController</code> has method getData(data)<br>
  <code>ProjectController</code> has method addProject(data)<br>
  I need to call addProject() from getData() method.<br>
  I tried using <code>sails.controllers.ProjectController.addProject(data)</code> but I got following error:  </p>
  
  <p>Cannot find method addProject of undefined  </p>
  
  <p>I searched for alternative ways to call another controller using <code>services</code> in <a href="https://stackoverflow.com/questions/25183819/sails-js-calling-one-controller-action-from-another-and-passing-additional-param">Stack Overflow</a> but that was of no help to me. Is there any other way to get this work?</p>