public function index()
    {
        /** @noinspection PhpUndefinedMethodInspection */
        $members = Member::with(
            'member_category',
            'user'
        )
            ->onTeam()
            ->active()
            ->orderBy('preference', 'asc')
            ->paginate(config('app.pagination_default'));
        /** @noinspection PhpUndefinedMethodInspection */
        return fractal($members, new MemberTransformer())
            ->withResourceName('member')
            ->respond();
    }