/** * Returns all users in database * * This method uses the user repository to fetch a list of all users * 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->users->listUsers(); }