public function index()
    {
        $invitations = MemberInvitation::with(
            'member',
            'member.user',
            'inviter',
            'inviter.user'
        )
            ->active()
            ->forUserContext($this->userContext())
            ->orderBy('created_at', 'desc')
            ->paginate(config('app.pagination_default'));
        return fractal($invitations, new MemberInvitationTransformer())
            ->withResourceName('memberInvitation')
            ->respond();
    }