code: function (req, res) {
          {modelName}.find(function (err, {pluralName}) {
              if (err) {
                  return res.status(500).json({
                      message: 'Error when getting {name}.',
                      error: err
                  });
              }
              return res.json({pluralName});
          });
      }
docs: {controllerName}.list()