title: How to call an express export method internally?
body: <p>This is my first method that responds well to an http call:</p>
  
  <pre><code>exports.create = function(req, res, next){
    var submission = new task(req.body);  
  
     submission.save(function(err){
       if(err){
          return next(err);
      } else {
          res.json(submission);
      }
    });
  
  };
  </code></pre>
  
  <p>Now, I want to call this from a method defined in the same file:</p>
  
  <pre><code>exports.evaluate = function(req, res, next){
    if(req.body.value == x){
      // need to call the above method
     this.create(req.body.someobject)
    }
  };
  </code></pre>
  
  <p>How can this be done?</p>