/** * Returns all projects in database * * This method uses the project repository to fetch a list of all projects * in the database and return that list. * * @since 1.0.0 * * @return Response A HTTP Response object formatted as JSON */ public function index() { return $this->projects->listProjects(); }